#ifndef _THREADS_H
#define _THREADS_H

#include "thread/thread.h"
#include "llobjects.h"

/** TYPEDEFS **/
typedef struct pcore_thread_state	pcore_thread_state ;

/** STRUCTURES **/

/*************************** Public functions ******************************/

#define Init_Threads(fun,val)  \
		t_startRT((ThreadFunc)fun,(any_ptr)val, \
			  "Thread Init",PRIORITY_HIGH,TRUE)

#define Exit_Threads()

#define fprintf		_t_fprintf
#define printf(x...)	_t_fprint(stdout,x)

void _t_fprintf(FILE *hFile, String strFormat, ...) ;

#endif
