Changeset df364582 in mainline
- Timestamp:
- 2005-10-02T18:07:35Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e2aecca
- Parents:
- 63975c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/synch/condvar.c
r63975c6 rdf364582 27 27 */ 28 28 29 #include <synch/synch.h>30 29 #include <synch/condvar.h> 31 30 #include <synch/mutex.h> 32 31 #include <synch/waitq.h> 32 #include <synch/synch.h> 33 33 34 /** Initialize condition variable 35 * 36 * Initialize condition variable. 37 * 38 * @param cv Condition variable. 39 */ 34 40 void condvar_initialize(condvar_t *cv) 35 41 { … … 37 43 } 38 44 45 /** Signal the condition has become true 46 * 47 * Signal the condition has become true 48 * to the first waiting thread by waking it up. 49 * 50 * @param Condition variable. 51 */ 39 52 void condvar_signal(condvar_t *cv) 40 53 { … … 42 55 } 43 56 57 /** Signal the condition has become true 58 * 59 * Signal the condition has become true 60 * to all waiting threads by waking them up. 61 * 62 * @param Condition variable. 63 */ 44 64 void condvar_broadcast(condvar_t *cv) 45 65 { … … 47 67 } 48 68 69 /** Wait for the condition becoming true 70 * 71 * Wait for the condition becoming true. 72 * 73 * @param Condition variable. 74 */ 49 75 int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int trywait) 50 76 {
Note:
See TracChangeset
for help on using the changeset viewer.