#mqtt_sock #user_mode_thread #mqtt_sock #user_mode_thread
Prabhu Vinod, Karthik
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
|
|
Boie, Andrew P
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?
Andrew
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?
|
|
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@...>
I'm not sure if anyone before you has tried this. We do have system calls for the socket APIs.
Did you do only this, or did you make API calls from a thread created with K_USER?
Andrew
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?
|
|
Nashif, Anas
CONFIG_USERSPACE on its own will not do much.
Anas
From: users@... [mailto:users@...]
On Behalf Of Prabhu Vinod, Karthik
Sent: Tuesday, February 12, 2019 10:21 AM To: Boie, Andrew P <andrew.p.boie@...>; users@... Subject: Re: [Zephyr-users] #mqtt_sock #user_mode_thread
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@...>
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?
Andrew
From:
users@... [mailto:users@...]
On Behalf Of Prabhu Vinod, Karthik
Can the current mqtt_sock implementation run in user mode thread? Are there obvious limitations that prevent it from running it in user mode?
|
|