Lines Matching refs:NAME
27 Declaration: gl_lock_define(extern, name)
28 Initializer: gl_lock_define_initialized(, name)
29 Initialization: gl_lock_init (name);
30 Taking the lock: gl_lock_lock (name);
31 Releasing the lock: gl_lock_unlock (name);
32 De-initialization: gl_lock_destroy (name);
34 Initialization: err = glthread_lock_init (&name);
35 Taking the lock: err = glthread_lock_lock (&name);
36 Releasing the lock: err = glthread_lock_unlock (&name);
37 De-initialization: err = glthread_lock_destroy (&name);
41 Declaration: gl_rwlock_define(extern, name)
42 Initializer: gl_rwlock_define_initialized(, name)
43 Initialization: gl_rwlock_init (name);
44 Taking the lock: gl_rwlock_rdlock (name);
45 gl_rwlock_wrlock (name);
46 Releasing the lock: gl_rwlock_unlock (name);
47 De-initialization: gl_rwlock_destroy (name);
49 Initialization: err = glthread_rwlock_init (&name);
50 Taking the lock: err = glthread_rwlock_rdlock (&name);
51 err = glthread_rwlock_wrlock (&name);
52 Releasing the lock: err = glthread_rwlock_unlock (&name);
53 De-initialization: err = glthread_rwlock_destroy (&name);
57 Declaration: gl_recursive_lock_define(extern, name)
58 Initializer: gl_recursive_lock_define_initialized(, name)
59 Initialization: gl_recursive_lock_init (name);
60 Taking the lock: gl_recursive_lock_lock (name);
61 Releasing the lock: gl_recursive_lock_unlock (name);
62 De-initialization: gl_recursive_lock_destroy (name);
64 Initialization: err = glthread_recursive_lock_init (&name);
65 Taking the lock: err = glthread_recursive_lock_lock (&name);
66 Releasing the lock: err = glthread_recursive_lock_unlock (&name);
67 De-initialization: err = glthread_recursive_lock_destroy (&name);
71 Initializer: gl_once_define(extern, name)
72 Execution: gl_once (name, initfunction);
74 Execution: err = glthread_once (&name, initfunction);
162 # define gl_lock_define(STORAGECLASS, NAME) \
163 STORAGECLASS pthread_mutex_t NAME;
164 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
165 STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer;
184 # define gl_rwlock_define(STORAGECLASS, NAME) \
185 STORAGECLASS pthread_rwlock_t NAME;
186 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
187 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
210 # define gl_rwlock_define(STORAGECLASS, NAME) \
211 STORAGECLASS gl_rwlock_t NAME;
212 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
213 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
245 # define gl_rwlock_define(STORAGECLASS, NAME) \
246 STORAGECLASS gl_rwlock_t NAME;
247 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
248 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
276 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
277 STORAGECLASS pthread_mutex_t NAME;
278 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
279 STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer;
306 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
307 STORAGECLASS gl_recursive_lock_t NAME;
308 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
309 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
339 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
340 STORAGECLASS gl_recursive_lock_t NAME;
341 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
342 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
363 # define gl_once_define(STORAGECLASS, NAME) \
364 STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT;
413 # define gl_lock_define(STORAGECLASS, NAME) \
414 STORAGECLASS pth_mutex_t NAME;
415 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
416 STORAGECLASS pth_mutex_t NAME = gl_lock_initializer;
431 # define gl_rwlock_define(STORAGECLASS, NAME) \
432 STORAGECLASS pth_rwlock_t NAME;
433 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
434 STORAGECLASS pth_rwlock_t NAME = gl_rwlock_initializer;
452 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
453 STORAGECLASS pth_mutex_t NAME;
454 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
455 STORAGECLASS pth_mutex_t NAME = gl_recursive_lock_initializer;
470 # define gl_once_define(STORAGECLASS, NAME) \
471 STORAGECLASS pth_once_t NAME = PTH_ONCE_INIT;
525 # define gl_lock_define(STORAGECLASS, NAME) \
526 STORAGECLASS mutex_t NAME;
527 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
528 STORAGECLASS mutex_t NAME = gl_lock_initializer;
543 # define gl_rwlock_define(STORAGECLASS, NAME) \
544 STORAGECLASS rwlock_t NAME;
545 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
546 STORAGECLASS rwlock_t NAME = gl_rwlock_initializer;
572 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
573 STORAGECLASS gl_recursive_lock_t NAME;
574 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
575 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
599 # define gl_once_define(STORAGECLASS, NAME) \
600 STORAGECLASS gl_once_t NAME = { 0, DEFAULTMUTEX };
646 # define gl_lock_define(STORAGECLASS, NAME) \
647 STORAGECLASS gl_lock_t NAME;
648 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
649 STORAGECLASS gl_lock_t NAME = gl_lock_initializer;
688 # define gl_rwlock_define(STORAGECLASS, NAME) \
689 STORAGECLASS gl_rwlock_t NAME;
690 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
691 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
724 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
725 STORAGECLASS gl_recursive_lock_t NAME;
726 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
727 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
752 # define gl_once_define(STORAGECLASS, NAME) \
753 STORAGECLASS gl_once_t NAME = { -1, -1 };
773 # define gl_lock_define(STORAGECLASS, NAME)
774 # define gl_lock_define_initialized(STORAGECLASS, NAME)
775 # define glthread_lock_init(NAME) 0
776 # define glthread_lock_lock(NAME) 0
777 # define glthread_lock_unlock(NAME) 0
778 # define glthread_lock_destroy(NAME) 0
783 # define gl_rwlock_define(STORAGECLASS, NAME)
784 # define gl_rwlock_define_initialized(STORAGECLASS, NAME)
785 # define glthread_rwlock_init(NAME) 0
786 # define glthread_rwlock_rdlock(NAME) 0
787 # define glthread_rwlock_wrlock(NAME) 0
788 # define glthread_rwlock_unlock(NAME) 0
789 # define glthread_rwlock_destroy(NAME) 0
794 # define gl_recursive_lock_define(STORAGECLASS, NAME)
795 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME)
796 # define glthread_recursive_lock_init(NAME) 0
797 # define glthread_recursive_lock_lock(NAME) 0
798 # define glthread_recursive_lock_unlock(NAME) 0
799 # define glthread_recursive_lock_destroy(NAME) 0
804 # define gl_once_define(STORAGECLASS, NAME) \
805 STORAGECLASS gl_once_t NAME = 0;
817 #define gl_lock_init(NAME) \
820 if (glthread_lock_init (&NAME)) \
824 #define gl_lock_lock(NAME) \
827 if (glthread_lock_lock (&NAME)) \
831 #define gl_lock_unlock(NAME) \
834 if (glthread_lock_unlock (&NAME)) \
838 NAME) \
841 if (glthread_lock_destroy (&NAME)) \
848 #define gl_rwlock_init(NAME) \
851 if (glthread_rwlock_init (&NAME)) \
855 #define gl_rwlock_rdlock(NAME) \
858 if (glthread_rwlock_rdlock (&NAME)) \
862 #define gl_rwlock_wrlock(NAME) \
865 if (glthread_rwlock_wrlock (&NAME)) \
869 #define gl_rwlock_unlock(NAME) \
872 if (glthread_rwlock_unlock (&NAME)) \
876 #define gl_rwlock_destroy(NAME) \
879 if (glthread_rwlock_destroy (&NAME)) \
886 #define gl_recursive_lock_init(NAME) \
889 if (glthread_recursive_lock_init (&NAME)) \
893 #define gl_recursive_lock_lock(NAME) \
896 if (glthread_recursive_lock_lock (&NAME)) \
900 #define gl_recursive_lock_unlock(NAME) \
903 if (glthread_recursive_lock_unlock (&NAME)) \
907 #define gl_recursive_lock_destroy(NAME) \
910 if (glthread_recursive_lock_destroy (&NAME)) \
917 #define gl_once(NAME, INITFUNCTION) \
920 if (glthread_once (&NAME, INITFUNCTION)) \