mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 13:33:40 +08:00
Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -291,7 +291,7 @@ pid_t task_vforkstart(FAR _TCB *child)
|
||||
* still running.
|
||||
*/
|
||||
|
||||
while ((ret = kill(pid, 0)) == OK)
|
||||
while (kill(pid, 0) == OK)
|
||||
{
|
||||
/* Yes.. then we can yield to it -- assuming that it has not lowered
|
||||
* its priority. sleep(0) might be a safer thing to do since it does
|
||||
|
||||
Reference in New Issue
Block a user