GLOBAL -> *.h files

This commit is contained in:
Vítor Santos Costa 2015-11-11 17:15:14 +00:00
parent 51d0612f59
commit 504268d5b3
4 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@
#endif /* THREADS */
#define GLOBAL_Stream Yap_global->Stream_
#if defined(THREADS)
#if defined(THREADS)||defined(YAPOR)
#define GLOBAL_StreamDescLock Yap_global->StreamDescLock_
#endif

View File

@ -71,7 +71,7 @@ typedef struct global_data {
#endif /* THREADS */
struct stream_desc* Stream_;
#if defined(THREADS)
#if defined(THREADS)||defined(YAPOR)
lockvar StreamDescLock_;
#endif

View File

@ -71,7 +71,7 @@ static void InitGlobal(void) {
#endif /* THREADS */
#if defined(THREADS)
#if defined(THREADS)||defined(YAPOR)
INIT_LOCK(GLOBAL_StreamDescLock);
#endif

View File

@ -71,7 +71,7 @@ static void RestoreGlobal(void) {
#endif /* THREADS */
#if defined(THREADS)
#if defined(THREADS)||defined(YAPOR)
REINIT_LOCK(GLOBAL_StreamDescLock);
#endif