Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@96 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
006abb3ca3
commit
51a1c4572a
|
@ -164,9 +164,13 @@ int sem_wait(sem_t *sem)
|
|||
*/
|
||||
|
||||
if (*get_errno_ptr() != EINTR)
|
||||
ret = OK;
|
||||
{
|
||||
ret = OK;
|
||||
}
|
||||
else
|
||||
sem->semcount++;
|
||||
{
|
||||
sem->semcount++;
|
||||
}
|
||||
}
|
||||
|
||||
/* Interrupts may now be enabled. */
|
||||
|
|
|
@ -296,6 +296,7 @@ int sig_received(FAR _TCB *stcb, siginfo_t *info)
|
|||
ret = OK;
|
||||
|
||||
/****** MASKED SIGNAL HANDLING ******/
|
||||
|
||||
/* Check if the signal is masked -- if it is, it will be added to the
|
||||
* list of pending signals.
|
||||
*/
|
||||
|
@ -365,6 +366,7 @@ int sig_received(FAR _TCB *stcb, siginfo_t *info)
|
|||
}
|
||||
|
||||
/****** OTHER SIGNAL HANDLING ******/
|
||||
|
||||
/* If the task is blocked waiting for a semaphore, then that
|
||||
* task must be unblocked when a signal is received.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue