add support for threads to C-interface (first cut, not done yet).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1097 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
21a3377248
commit
d16b7e4ec9
12
H/threads.h
Normal file
12
H/threads.h
Normal file
@ -0,0 +1,12 @@
|
||||
typedef struct{
|
||||
UInt ssize;
|
||||
UInt tsize;
|
||||
int (*cancel)(int thread);
|
||||
} thread_attr;
|
||||
|
||||
Int STD_PROTO(Yap_thread_self,(void));
|
||||
Int 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));
|
||||
|
Reference in New Issue
Block a user