Groups
Groups
Sign in
Groups
Groups
NuttX
Conversations
Labels
About
Send feedback
Help
is it allowed call "sleep" in critical section protected by "enter_critical_section" and "leave_critical_section" in SMP mode/?
30 views
Skip to first unread message
tugouxp tugouxp
unread,
Dec 26, 2019, 1:14:28 AM
12/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NuttX
is it allowed call "sleep" in critical section protected by "enter_critical_section" and "leave_critical_section" in SMP mode/?
i have a try, it seems this work in smp mode, is this safe?
thank you!
spudaneco
unread,
Dec 26, 2019, 7:10:26 AM
12/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nu...@googlegroups.com
Yes, it is safe. The citcal section willbe released atomicly while sleeping and restored upon awakening
Sent from Samsung tablet.
Reply all
Reply to author
Forward
0 new messages