Lines Matching refs:c

14 .. c:type:: uv_thread_t
18 .. c:type:: void (*uv_thread_cb)(void* arg)
21 value that was passed to :c:func:`uv_thread_create`.
23 .. c:type:: uv_key_t
27 .. c:type:: uv_once_t
31 .. c:type:: uv_mutex_t
35 .. c:type:: uv_rwlock_t
39 .. c:type:: uv_sem_t
43 .. c:type:: uv_cond_t
47 .. c:type:: uv_barrier_t
58 .. c:type:: uv_thread_options_t
60 Options for spawning a new thread (passed to :c:func:`uv_thread_create_ex`).
77 .. c:function:: int uv_thread_create(uv_thread_t* tid, uv_thread_cb entry, void* arg)
81 .. c:function:: int uv_thread_create_ex(uv_thread_t* tid, const uv_thread_options_t* params, uv_thr…
83 Like :c:func:`uv_thread_create`, but additionally specifies options for creating a new thread.
91 .. c:function:: int uv_thread_setaffinity(uv_thread_t* tid, char* cpumask, char* oldmask, size_t ma…
102 and must be greater-than-or-equal-to :c:func:`uv_cpumask_size`.
109 .. c:function:: int uv_thread_getaffinity(uv_thread_t* tid, char* cpumask, size_t mask_size)
115 and must be greater-than-or-equal-to :c:func:`uv_cpumask_size`.
122 .. c:function:: int uv_thread_getcpu(void)
131 .. c:function:: uv_thread_t uv_thread_self(void)
132 .. c:function:: int uv_thread_join(uv_thread_t *tid)
133 .. c:function:: int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2)
135 .. c:function:: int uv_thread_setpriority(uv_thread_t tid, int priority)
143 .. c:function:: int uv_thread_getpriority(uv_thread_t tid, int* priority)
157 .. c:function:: int uv_key_create(uv_key_t* key)
158 .. c:function:: void uv_key_delete(uv_key_t* key)
159 .. c:function:: void* uv_key_get(uv_key_t* key)
160 .. c:function:: void uv_key_set(uv_key_t* key, void* value)
165 Runs a function once and only once. Concurrent calls to :c:func:`uv_once` with the
169 .. c:function:: void uv_once(uv_once_t* guard, void (*callback)(void))
177 .. c:function:: int uv_mutex_init(uv_mutex_t* handle)
178 .. c:function:: int uv_mutex_init_recursive(uv_mutex_t* handle)
179 .. c:function:: void uv_mutex_destroy(uv_mutex_t* handle)
180 .. c:function:: void uv_mutex_lock(uv_mutex_t* handle)
181 .. c:function:: int uv_mutex_trylock(uv_mutex_t* handle)
182 .. c:function:: void uv_mutex_unlock(uv_mutex_t* handle)
190 .. c:function:: int uv_rwlock_init(uv_rwlock_t* rwlock)
191 .. c:function:: void uv_rwlock_destroy(uv_rwlock_t* rwlock)
192 .. c:function:: void uv_rwlock_rdlock(uv_rwlock_t* rwlock)
193 .. c:function:: int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock)
194 .. c:function:: void uv_rwlock_rdunlock(uv_rwlock_t* rwlock)
195 .. c:function:: void uv_rwlock_wrlock(uv_rwlock_t* rwlock)
196 .. c:function:: int uv_rwlock_trywrlock(uv_rwlock_t* rwlock)
197 .. c:function:: void uv_rwlock_wrunlock(uv_rwlock_t* rwlock)
205 .. c:function:: int uv_sem_init(uv_sem_t* sem, unsigned int value)
206 .. c:function:: void uv_sem_destroy(uv_sem_t* sem)
207 .. c:function:: void uv_sem_post(uv_sem_t* sem)
208 .. c:function:: void uv_sem_wait(uv_sem_t* sem)
209 .. c:function:: int uv_sem_trywait(uv_sem_t* sem)
218 1. Callers should be prepared to deal with spurious wakeups on :c:func:`uv_cond_wait`
219 and :c:func:`uv_cond_timedwait`.
220 2. The timeout parameter for :c:func:`uv_cond_timedwait` is relative to the time
222 3. On z/OS, the timeout parameter for :c:func:`uv_cond_timedwait` is converted to an
228 .. c:function:: int uv_cond_init(uv_cond_t* cond)
229 .. c:function:: void uv_cond_destroy(uv_cond_t* cond)
230 .. c:function:: void uv_cond_signal(uv_cond_t* cond)
231 .. c:function:: void uv_cond_broadcast(uv_cond_t* cond)
232 .. c:function:: void uv_cond_wait(uv_cond_t* cond, uv_mutex_t* mutex)
233 .. c:function:: int uv_cond_timedwait(uv_cond_t* cond, uv_mutex_t* mutex, uint64_t timeout)
242 :c:func:`uv_barrier_wait` returns a value > 0 to an arbitrarily chosen "serializer" thread
250 .. c:function:: int uv_barrier_init(uv_barrier_t* barrier, unsigned int count)
251 .. c:function:: void uv_barrier_destroy(uv_barrier_t* barrier)
252 .. c:function:: int uv_barrier_wait(uv_barrier_t* barrier)