2581c3a3bf
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2300 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
17 lines
489 B
C
17 lines
489 B
C
typedef struct{
|
|
UInt ssize;
|
|
UInt tsize;
|
|
UInt sysize;
|
|
int (*cancel)(int thread);
|
|
Term egoal;
|
|
} thread_attr;
|
|
|
|
Int STD_PROTO(Yap_thread_self,(void));
|
|
int STD_PROTO(Yap_get_thread_ref_count,(int));
|
|
void STD_PROTO(Yap_set_thread_ref_count,(int,int));
|
|
CELL STD_PROTO(Yap_thread_create_engine,(thread_attr *));
|
|
Int STD_PROTO(Yap_thread_attach_engine,(int));
|
|
Int STD_PROTO(Yap_thread_detach_engine,(int));
|
|
Int STD_PROTO(Yap_thread_destroy_engine,(int));
|
|
|