Changeset df364582 in mainline


Ignore:
Timestamp:
2005-10-02T18:07:35Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1e2aecca
Parents:
63975c6
Message:

Doxygen-style comments for condvar.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/synch/condvar.c

    r63975c6 rdf364582  
    2727 */
    2828
    29 #include <synch/synch.h>
    3029#include <synch/condvar.h>
    3130#include <synch/mutex.h>
    3231#include <synch/waitq.h>
     32#include <synch/synch.h>
    3333
     34/** Initialize condition variable
     35 *
     36 * Initialize condition variable.
     37 *
     38 * @param cv Condition variable.
     39 */
    3440void condvar_initialize(condvar_t *cv)
    3541{
     
    3743}
    3844
     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 */
    3952void condvar_signal(condvar_t *cv)
    4053{
     
    4255}
    4356
     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 */
    4464void condvar_broadcast(condvar_t *cv)
    4565{
     
    4767}
    4868
     69/** Wait for the condition becoming true
     70 *
     71 * Wait for the condition becoming true.
     72 *
     73 * @param Condition variable.
     74 */
    4975int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int trywait)
    5076{
Note: See TracChangeset for help on using the changeset viewer.