00001 00008 /* (c) 2003 Technische Universitaet Dresden 00009 * This file is part of DROPS, which is distributed under the terms of the 00010 * GNU General Public License 2. Please see the COPYING file for details. */ 00011 00012 #ifndef __L4_THREAD_H 00013 #define __L4_THREAD_H 00014 00015 #include <l4/sys/types.h> 00016 00017 EXTERN_C_BEGIN 00018 00029 L4_CV l4_threadid_t 00030 l4util_create_thread (int thread_no, void (*function)(void), void *stack); 00031 00036 L4_CV l4_threadid_t 00037 l4util_attach_interrupt (int irq); 00038 00042 L4_CV void 00043 l4util_detach_interrupt (void); 00044 00045 EXTERN_C_END 00046 00047 #endif /* __L4_THREAD_H */