1,5 → 1,5 |
/* |
* Copyright (C) 2005 Martin Decky |
* Copyright (C) 2006 Jakub Jermar |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
26,11 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
|
#ifndef __LIBC__STDLIB_H__ |
#define __LIBC__STDLIB_H__ |
#ifndef __LIBC__THREAD_H__ |
#define __LIBC__THREAD_H__ |
|
#include <malloc.h> |
int thread_create(void (* function)(void *arg), void *arg, void *stack, char *name); |
void thread_exit(int status); |
|
#define abort() _exit(1) |
|
#endif |