1 # This file makes most of the thread related macros look like
2 # functions, which they really were, if possible easy.
4 # default thread implementation
7 <NAME>G_THREADS_IMPL_POSIX</NAME>
8 #define G_THREADS_IMPL_POSIX
12 <NAME>G_THREADS_IMPL_SOLARIS</NAME>
13 #define G_THREADS_IMPL_SOLARIS
17 <NAME>G_THREADS_IMPL_NONE</NAME>
18 #define G_THREADS_IMPL_NONE
24 <NAME>g_thread_supported</NAME>
25 <RETURNS>gboolean</RETURNS>
31 <NAME>g_mutex_new</NAME>
32 <RETURNS>GMutex *</RETURNS>
36 <NAME>g_mutex_lock</NAME>
37 <RETURNS>void</RETURNS>
42 <NAME>g_mutex_trylock</NAME>
43 <RETURNS>gboolean</RETURNS>
48 <NAME>g_mutex_unlock</NAME>
49 <RETURNS>void</RETURNS>
54 <NAME>g_mutex_free</NAME>
55 <RETURNS>void</RETURNS>
62 <NAME>GStaticMutex</NAME>
66 <NAME>G_STATIC_MUTEX_INIT</NAME>
67 #define G_STATIC_MUTEX_INIT
71 <NAME>g_static_mutex_lock</NAME>
72 <RETURNS>void</RETURNS>
77 <NAME>g_static_mutex_trylock</NAME>
78 <RETURNS>gboolean</RETURNS>
83 <NAME>g_static_mutex_unlock</NAME>
84 <RETURNS>void</RETURNS>
89 <NAME>g_static_mutex_get_mutex</NAME>
90 <RETURNS>GMutex *</RETURNS>
97 <NAME>g_thread_yield</NAME>
98 <RETURNS>void</RETURNS>
102 <NAME>g_thread_create</NAME>
103 <RETURNS>GThread *</RETURNS>
113 <NAME>G_LOCK_DEFINE</NAME>
114 #define G_LOCK_DEFINE(name)
118 <NAME>G_LOCK_DEFINE_STATIC</NAME>
119 #define G_LOCK_DEFINE_STATIC(name)
123 <NAME>G_LOCK_EXTERN</NAME>
124 #define G_LOCK_EXTERN(name)
133 <NAME>G_UNLOCK</NAME>
134 #define G_UNLOCK(name)
138 <NAME>G_TRYLOCK</NAME>
139 #define G_TRYLOCK(name)
145 <NAME>g_cond_new</NAME>
146 <RETURNS>GCond*</RETURNS>
150 <NAME>g_cond_signal</NAME>
151 <RETURNS>void</RETURNS>
156 <NAME>g_cond_broadcast</NAME>
157 <RETURNS>void</RETURNS>
162 <NAME>g_cond_wait</NAME>
163 <RETURNS>void</RETURNS>
164 GCond *cond, GMutex *mutex
168 <NAME>g_cond_timed_wait</NAME>
169 <RETURNS>gboolean</RETURNS>
170 GCond *cond, GMutex *mutex, GTimeVal *abs_time
174 <NAME>g_cond_free</NAME>
175 <RETURNS>void</RETURNS>
182 <NAME>g_private_new</NAME>
183 <RETURNS>GPrivate*</RETURNS>
184 GDestroyNotify destructor
188 <NAME>g_private_get</NAME>
189 <RETURNS>gpointer</RETURNS>
190 GPrivate *private_key
194 <NAME>g_private_set</NAME>
195 <RETURNS>void</RETURNS>
196 GPrivate *private_key, gpointer data
202 <NAME>G_STATIC_PRIVATE_INIT</NAME>
203 #define G_STATIC_PRIVATE_INIT
206 # Definitions for different operating systems
209 <NAME>G_OS_UNIX</NAME>
214 <NAME>G_OS_WIN32</NAME>
219 <NAME>G_OS_BEOS</NAME>
226 <NAME>g_ascii_isalnum</NAME>
227 <RETURNS>gboolean</RETURNS>
232 <NAME>g_ascii_isalpha</NAME>
233 <RETURNS>gboolean</RETURNS>
238 <NAME>g_ascii_iscntrl</NAME>
239 <RETURNS>gboolean</RETURNS>
244 <NAME>g_ascii_isdigit</NAME>
245 <RETURNS>gboolean</RETURNS>
250 <NAME>g_ascii_isgraph</NAME>
251 <RETURNS>gboolean</RETURNS>
256 <NAME>g_ascii_islower</NAME>
257 <RETURNS>gboolean</RETURNS>
262 <NAME>g_ascii_isprint</NAME>
263 <RETURNS>gboolean</RETURNS>
268 <NAME>g_ascii_ispunct</NAME>
269 <RETURNS>gboolean</RETURNS>
274 <NAME>g_ascii_isspace</NAME>
275 <RETURNS>gboolean</RETURNS>
280 <NAME>g_ascii_isupper</NAME>
281 <RETURNS>gboolean</RETURNS>
286 <NAME>g_ascii_isxdigit</NAME>
287 <RETURNS>gboolean</RETURNS>