59561e2688
fix Term->int breakage in compiler improve JPL (at least it does something now for amd64). git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
15 lines
442 B
C
15 lines
442 B
C
typedef struct{
|
|
UInt ssize;
|
|
UInt tsize;
|
|
int (*cancel)(int thread);
|
|
} 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));
|
|
|