Files
codezero/conts/baremetal/threads_demo/include/thread.h
Amit Mahajan 3caa43d756 Restrictions on naming of baremetal containers removed and we have an
automation script for integrating containers in baremetal/
2009-11-30 19:22:27 +05:30

19 lines
365 B
C

#ifndef __THREAD_H__
#define __THREAD_H__
#include <l4lib/arch/syslib.h>
#include <l4lib/arch/syscalls.h>
#include <l4lib/exregs.h>
#include <l4/api/thread.h>
int thread_create(int (*func)(void *), void *args, unsigned int flags,
struct task_ids *new_ids);
/* For same space */
#define STACK_SIZE 0x1000
#define THREADS_TOTAL 10
#endif /* __THREAD_H__ */