Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 985 → Rev 1065

/uspace/trunk/libc/include/thread.h/stdlib.h
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