Changeset 83512f21 in mainline
- Timestamp:
- 2008-05-12T19:04:13Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e1f51712
- Parents:
- ace9358
- Location:
- kernel/generic/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/waitq.c
race9358 r83512f21 407 407 * 408 408 * @param wq Pointer to wait queue. 409 * @param mode If mode is WAKEUP_FIRST, then the longest waiting i409 * @param mode If mode is WAKEUP_FIRST, then the longest waiting 410 410 * thread, if any, is woken up. If mode is WAKEUP_ALL, then 411 411 * all waiting threads, if any, are woken up. If there are -
kernel/generic/src/time/timeout.c
race9358 r83512f21 33 33 /** 34 34 * @file 35 * @brief Timeout management functions.35 * @brief Timeout management functions. 36 36 */ 37 37 … … 62 62 * Initialize all members except the lock. 63 63 * 64 * @param t 64 * @param t Timeout to be initialized. 65 65 * 66 66 */ … … 79 79 * Initialize all members including the lock. 80 80 * 81 * @param t 81 * @param t Timeout to be initialized. 82 82 * 83 83 */ … … 95 95 * time microseconds (or slightly more). 96 96 * 97 * @param t 98 * @param time Number of usec in the future to execute99 * the handler.100 * @param f Timeout handler function.101 * @param arg Timeout handler argument.102 * 103 */ 104 voidtimeout_register(timeout_t *t, uint64_t time, timeout_handler_t f, void *arg)97 * @param t Timeout structure. 98 * @param time Number of usec in the future to execute the handler. 99 * @param f Timeout handler function. 100 * @param arg Timeout handler argument. 101 * 102 */ 103 void 104 timeout_register(timeout_t *t, uint64_t time, timeout_handler_t f, void *arg) 105 105 { 106 106 timeout_t *hlp = NULL; … … 166 166 * Remove timeout from timeout list. 167 167 * 168 * @param t 169 * 170 * @return true on success, false on failure.168 * @param t Timeout to unregister. 169 * 170 * @return True on success, false on failure. 171 171 */ 172 172 bool timeout_unregister(timeout_t *t)
Note:
See TracChangeset
for help on using the changeset viewer.