Re: #mqtt_sock #user_mode_thread #mqtt_sock #user_mode_thread

Prabhu Vinod, Karthik

Hi Andrew,


I tried only with that config option…did not launch a thread with K_USER perms. Maybe I will try that.


Many Regards,

Karthik Prabhu Vinod


Help save the planet by choosing not to use single use plastics. Pick paper, bamboo or metal cutlery and carry your own bag to the grocery store. Every little thing you do makes an impact.


From: "Boie, Andrew P" <andrew.p.boie@...>
Date: Monday, February 11, 2019 at 10:55 PM
To: "Karthik Prabhu Vinod (Intel)" <karthik.prabhu.vinod@...>, "users@..." <users@...>
Subject: RE: [Zephyr-users] #mqtt_sock #user_mode_thread


I'm not sure if anyone before you has tried this. We do have system calls for the socket APIs.


  • I tested out with CONFIG_USERSPACE=y


Did you do only this, or did you make API calls from a thread created with K_USER?




From: users@... [mailto:users@...] On Behalf Of Prabhu Vinod, Karthik
Sent: Monday, February 11, 2019 9:26 PM
To: users@...
Subject: [Zephyr-users] #mqtt_sock #user_mode_thread


Can the current mqtt_sock implementation run in user mode thread? Are there obvious limitations that prevent it from running it in user mode?

When I tested, i didnt find any limitation . I tested out with CONFIG_USERSPACE=y

Join to automatically receive all group messages.