P99

◆ pthread_spin_init

#define pthread_spin_init (   ...)    P99_CALL_DEFARG(pthread_spin_init, 2, __VA_ARGS__)

Default arguments for POSIX function pthread_spin_init.

This macro hides the function

int pthread_spin_init(pthread_spinlock_t* objp, int pshared)
See also
P99_CALL_DEFARG
Parameters
objpis required
pshareddefaults to PTHREAD_PROCESS_PRIVATE, such that objp is not shared between different processes

Definition at line 70 of file p99_posix_default.h.

pthread_spin_init
#define pthread_spin_init(...)
Default arguments for POSIX function pthread_spin_init.
Definition: p99_posix_default.h:70