support for threads.
This commit is contained in:
parent
7f6084b3b7
commit
e06560eff4
@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
#define YAP_REGS_H 1
|
#define YAP_REGS_H 1
|
||||||
|
|
||||||
|
#ifdef THREADS
|
||||||
|
#if USE_PTHREAD_LOCKING
|
||||||
|
#ifndef _XOPEN_SOURCE
|
||||||
|
#define _XOPEN_SOURCE 600
|
||||||
|
#endif /* !_XOPEN_SOURCE */
|
||||||
|
#endif /* USE_PTHREAD_LOCKING */
|
||||||
|
#include <pthread.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(TABLING) || defined(YAPOR_SBA)
|
#if defined(TABLING) || defined(YAPOR_SBA)
|
||||||
typedef struct trail_frame {
|
typedef struct trail_frame {
|
||||||
Term term;
|
Term term;
|
||||||
|
Reference in New Issue
Block a user