Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1228 → Rev 1229

/kernel/trunk/generic/src/synch/rwlock.c
91,7 → 91,7
* @param trylock Switches between blocking and non-blocking mode.
*
* For exact description of possible combinations of
* 'usec' and 'trylock', see comment for waitq_sleep_timeout().
* @usec and @trylock, see comment for waitq_sleep_timeout().
*
* @return See comment for waitq_sleep_timeout().
*/
145,7 → 145,7
* @param trylock Switches between blocking and non-blocking mode.
*
* For exact description of possible combinations of
* 'usec' and 'trylock', see comment for waitq_sleep_timeout().
* @usec and @trylock, see comment for waitq_sleep_timeout().
*
* @return See comment for waitq_sleep_timeout().
*/
/kernel/trunk/generic/src/synch/mutex.c
51,7 → 51,7
* @param trylock Switches between blocking and non-blocking mode.
*
* For exact description of possible combinations of
* 'usec' and 'trylock', see comment for waitq_sleep_timeout().
* @usec and @trylock, see comment for waitq_sleep_timeout().
*
* @return See comment for waitq_sleep_timeout().
*/
/kernel/trunk/generic/src/synch/semaphore.c
65,7 → 65,7
* @param trydown Switches between blocking and non-blocking mode.
*
* For exact description of possible combinations of
* 'usec' and 'trydown', see comment for waitq_sleep_timeout().
* @usec and @trydown, see comment for waitq_sleep_timeout().
*
* @return See comment for waitq_sleep_timeout().
*/
/kernel/trunk/generic/src/synch/waitq.c
160,13 → 160,13
* @param usec Timeout in microseconds.
* @param nonblocking Blocking vs. non-blocking operation mode switch.
*
* If usec is greater than zero, regardless of the value of nonblocking,
* If @usec is greater than zero, regardless of the value of @nonblocking,
* the call will not return until either timeout or wakeup comes.
*
* If usec is zero and nonblocking is zero (false), the call
* If @usec is zero and @nonblocking is zero (false), the call
* will not return until wakeup comes.
*
* If usec is zero and nonblocking is non-zero (true), the call will
* If @usec is zero and @nonblocking is non-zero (true), the call will
* immediately return, reporting either success or failure.
*
* @return Returns one of: ESYNCH_WOULD_BLOCK, ESYNCH_TIMEOUT,
/kernel/trunk/generic/src/synch/futex.c
93,7 → 93,7
*
* @param uaddr Userspace address of the futex counter.
* @param usec If non-zero, number of microseconds this thread is willing to sleep.
* @param trydown If usec is zero and trydown is non-zero, conditional operation will be attempted.
* @param trydown If @usec is zero and trydown is non-zero, conditional operation will be attempted.
*
* @return One of ESYNCH_TIMEOUT, ESYNCH_OK_ATOMIC and ESYNCH_OK_BLOCKED. See synch.h.
* If there is no physical mapping for uaddr ENOENT is returned.
218,7 → 218,7
 
/** Compute hash index into futex hash table.
*
* @param key Address where the key (i.e. physical address of futex counter) is stored.
* @param key Address where the @key (i.e. physical address of futex counter) is stored.
*
* @return Index into futex hash table.
*/
231,7 → 231,7
*
* @param key Address where the key (i.e. physical address of futex counter) is stored.
*
* @return True if the item matches the key. False otherwise.
* @return True if the item matches the @key. False otherwise.
*/
bool futex_ht_compare(__native *key, count_t keys, link_t *item)
{
/kernel/trunk/generic/src/synch/condvar.c
76,7 → 76,7
* @param trywait Blocking versus non-blocking operation mode switch.
*
* For exact description of possible combinations of
* 'usec' and 'trywait', see comment for waitq_sleep_timeout().
* @usec and @trywait, see comment for waitq_sleep_timeout().
*
* @return See comment for waitq_sleep_timeout().
*/