Hi,
I'm looking for a way for a thread to basically say, "I'm done for now somebody else can run" without a delay. In co-op systems this would be 'yield' or 'pause'.
Or does reschedule do this ?
Thanks,
Andrew
nilRTOS, is there an equivalent to yield ? Topic is solved
-
- Posts: 2
- Joined: Sat May 30, 2015 3:05 pm
- Giovanni
- Site Admin
- Posts: 14461
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: nilRTOS, is there an equivalent to yield ?
Hi,
There is no need, NIL is preemptive and there are no threads at same priority. When you go to sleep you yield implicitly.
Giovanni
There is no need, NIL is preemptive and there are no threads at same priority. When you go to sleep you yield implicitly.
Giovanni
Who is online
Users browsing this forum: No registered users and 1 guest