Changeset 2cb5e64 in mainline for generic/include/proc/thread.h


Ignore:
Timestamp:
2006-06-04T19:47:36Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7509ddc
Parents:
c4e4507
Message:

Make use of thread_join_timeout() and thread_detach() in kernel.

Improved comments in slab.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/thread.h

    rc4e4507 r2cb5e64  
    3838#include <time/timeout.h>
    3939#include <synch/rwlock.h>
     40#include <synch/synch.h>
    4041#include <config.h>
    4142#include <adt/btree.h>
     
    155156extern void thread_usleep(__u32 usec);
    156157
     158#define thread_join(t)  thread_join_timeout((t), SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE)
    157159extern int thread_join_timeout(thread_t *t, __u32 usec, int flags);
    158160extern void thread_detach(thread_t *t);
Note: See TracChangeset for help on using the changeset viewer.