Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1708 → Rev 1709

/uspace/trunk/libc/generic/thread.c
117,7 → 117,7
* @param arg Argument to be passed to thread.
* @param name Symbolic name of the thread.
*
* @param TID of the new thread on success or -1 on failure.
* @return TID of the new thread on success or -1 on failure.
*/
int thread_create(void (* function)(void *), void *arg, char *name)
{
145,7 → 145,7
 
/** Terminate current thread.
*
* @param stat Exit status. Currently not used.
* @param status Exit status. Currently not used.
*/
void thread_exit(int status)
{
/uspace/trunk/libc/generic/psthread.c
109,9 → 109,7
* If calling with PS_TO_MANAGER parameter, the async_futex should be
* held.
*
* @param tomanager If true, we are switching to next ready manager thread
* (if none is found, thread is exited)
* @param frommanager If true, we are switching from manager thread
* @param ctype Type of switch.
* @return 0 if there is no ready pseudo thread, 1 otherwise.
*/
int psthread_schedule_next_adv(pschange_type ctype)
/uspace/trunk/libc/generic/ipc.c
371,6 → 371,7
/** Wait some time for an IPC call.
*
* - dispatch ASYNC reoutines in the background
*
* @param call Space where the message is stored
* @param usec Timeout in microseconds.
* @return Callid of the answer.
389,6 → 390,7
/** Check if there is an IPC call waiting to be picked up.
*
* - dispatch ASYNC reoutines in the background
*
* @param call Space where the message is stored
* @return Callid of the answer.
*/
/uspace/trunk/libc/generic/libadt/hash_table.c
79,7 → 79,7
/** Insert item into hash table.
*
* @param h Hash table.
* @param hey Array of all keys necessary to compute hash index.
* @param key Array of all keys necessary to compute hash index.
* @param item Item to be inserted into the hash table.
*/
void hash_table_insert(hash_table_t *h, unsigned long key[], link_t *item)