GLOBAL -> *.h files
This commit is contained in:
parent
51d0612f59
commit
504268d5b3
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -71,7 +71,7 @@ static void InitGlobal(void) {
|
||||
#endif /* THREADS */
|
||||
|
||||
|
||||
#if defined(THREADS)
|
||||
#if defined(THREADS)||defined(YAPOR)
|
||||
INIT_LOCK(GLOBAL_StreamDescLock);
|
||||
#endif
|
||||
|
||||
|
@ -71,7 +71,7 @@ static void RestoreGlobal(void) {
|
||||
#endif /* THREADS */
|
||||
|
||||
|
||||
#if defined(THREADS)
|
||||
#if defined(THREADS)||defined(YAPOR)
|
||||
REINIT_LOCK(GLOBAL_StreamDescLock);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user