From 0718f3e08d87d9729cb15d1d4f15075360668c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Tue, 8 Jun 2010 10:40:55 +0100 Subject: [PATCH] USE_THREADS->THREADS --- C/c_interface.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/C/c_interface.c b/C/c_interface.c index 48597f2fc..053dae86e 100755 --- a/C/c_interface.c +++ b/C/c_interface.c @@ -2813,7 +2813,7 @@ YAP_StripModule(Term t, Term *modp) X_API int YAP_ThreadSelf(void) { -#if USE_THREADS +#if THREADS return Yap_thread_self(); #else return 0; @@ -2823,7 +2823,7 @@ YAP_ThreadSelf(void) X_API CELL YAP_ThreadCreateEngine(struct thread_attr_struct *attr) { -#if USE_THREADS +#if THREADS return Yap_thread_create_engine(attr); #else return FALSE; @@ -2833,7 +2833,7 @@ YAP_ThreadCreateEngine(struct thread_attr_struct *attr) X_API int YAP_ThreadAttachEngine(int wid) { -#if USE_THREADS +#if THREADS return Yap_thread_attach_engine(wid); #else return FALSE; @@ -2843,7 +2843,7 @@ YAP_ThreadAttachEngine(int wid) X_API int YAP_ThreadDetachEngine(int wid) { -#if USE_THREADS +#if THREADS return Yap_thread_detach_engine(wid); #else return FALSE; @@ -2853,7 +2853,7 @@ YAP_ThreadDetachEngine(int wid) X_API int YAP_ThreadDestroyEngine(int wid) { -#if USE_THREADS +#if THREADS return Yap_thread_destroy_engine(wid); #else return FALSE;