fix thread complaints.
This commit is contained in:
parent
8a0b7312e4
commit
0d64daa393
@ -3,9 +3,7 @@
|
|||||||
|
|
||||||
#define THREADS_H 1
|
#define THREADS_H 1
|
||||||
|
|
||||||
#ifdef THREADS
|
typedef struct thread_attr_struct {
|
||||||
|
|
||||||
typedef struct{
|
|
||||||
UInt ssize;
|
UInt ssize;
|
||||||
UInt tsize;
|
UInt tsize;
|
||||||
UInt sysize;
|
UInt sysize;
|
||||||
@ -13,6 +11,8 @@ typedef struct{
|
|||||||
Term egoal;
|
Term egoal;
|
||||||
} thread_attr;
|
} thread_attr;
|
||||||
|
|
||||||
|
#ifdef THREADS
|
||||||
|
|
||||||
Int STD_PROTO(Yap_thread_self,(void));
|
Int STD_PROTO(Yap_thread_self,(void));
|
||||||
int STD_PROTO(Yap_get_thread_ref_count,(int));
|
int STD_PROTO(Yap_get_thread_ref_count,(int));
|
||||||
void STD_PROTO(Yap_set_thread_ref_count,(int,int));
|
void STD_PROTO(Yap_set_thread_ref_count,(int,int));
|
||||||
|
Reference in New Issue
Block a user