mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Create a place to hold board specific header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@146 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+3
-3
@@ -104,9 +104,9 @@ void lib_take_semaphore(FILE *stream)
|
||||
ASSERT(*get_errno_ptr() == EINTR);
|
||||
}
|
||||
|
||||
/* We have it. Claim the stak and return */
|
||||
/* We have it. Stake the claim and return */
|
||||
|
||||
stream->holder = my_pid;
|
||||
stream->holder = my_pid;
|
||||
stream->counts = 1;
|
||||
}
|
||||
}
|
||||
@@ -119,7 +119,7 @@ void lib_give_semaphore(FILE *stream)
|
||||
{
|
||||
pid_t my_pid = getpid();
|
||||
|
||||
/* I better be holding at least one reference to the semaphore */
|
||||
/* I better be holding at least one count on the semaphore */
|
||||
|
||||
ASSERT(stream->holder == my_pid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user