#ifndef DIP_THREADS_H
#define DIP_THREADS_H
#ifdef __cplusplus
extern "C" {
#endif

dip_Error dip_ThreadsInitialise( void );

typedef dip_int dip_ThreadID;

#define dip_ThreadCreate( id, func, data )	func( (void *) data )
#define dip_ThreadJoin( id )	id = 0

#ifdef __cplusplus
}
#endif
#endif
