pidentd  3.0.19
About: implementation of the RFC1413 identification server (more or less complete rewrite compared to version 2)
  Fossies Dox: pidentd-3.0.19.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

no_thr.h File Reference
#include <sys/types.h>
#include <errno.h>
Include dependency graph for no_thr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define pthread_mutex_t   int
 
#define pthread_mutex_init(mp, ap)   (*(mp) = 0)
 
#define pthread_mutex_lock(mp)   (*(mp) = 1)
 
#define pthread_mutex_unlock(mp)   (*(mp) = 0)
 
#define pthread_mutex_destroy(mp)   (0)
 
#define pthread_cond_t   int
 
#define pthread_cond_init(cp, ap)   (*(cp) = 0)
 
#define pthread_cond_wait(cp, mp)   (0)
 
#define pthread_cond_signal(cp)   (*(cp) = 1)
 
#define pthread_cond_broadcast(cp)   (*(cp) = 1)
 
#define pthread_cond_destroy(cp)   (0)
 
#define pthread_attr_t   int
 
#define pthread_attr_init(ap)   (*(ap) = 0)
 
#define pthread_t   int
 
#define PTHREAD_CREATE_DETACHED   1
 
#define pthread_once_t   int
 
#define PTHREAD_ONCE_INIT   0
 
#define pthread_once(ov, fun)   (*(ov) && ((*(ov) = 1), (fun()), 1))
 
#define pthread_attr_setdetachstate(ap, state)   ((*ap) = state)
 
#define pthread_create(tidp, attrp, func, arg)   ((*(func))(arg), 0)
 

Macro Definition Documentation

◆ pthread_attr_init

#define pthread_attr_init (   ap)    (*(ap) = 0)

Definition at line 48 of file no_thr.h.

◆ pthread_attr_setdetachstate

#define pthread_attr_setdetachstate (   ap,
  state 
)    ((*ap) = state)

Definition at line 63 of file no_thr.h.

◆ pthread_attr_t

#define pthread_attr_t   int

Definition at line 45 of file no_thr.h.

◆ pthread_cond_broadcast

#define pthread_cond_broadcast (   cp)    (*(cp) = 1)

Definition at line 41 of file no_thr.h.

◆ pthread_cond_destroy

#define pthread_cond_destroy (   cp)    (0)

Definition at line 42 of file no_thr.h.

◆ pthread_cond_init

#define pthread_cond_init (   cp,
  ap 
)    (*(cp) = 0)

Definition at line 38 of file no_thr.h.

◆ pthread_cond_signal

#define pthread_cond_signal (   cp)    (*(cp) = 1)

Definition at line 40 of file no_thr.h.

◆ pthread_cond_t

#define pthread_cond_t   int

Definition at line 35 of file no_thr.h.

◆ pthread_cond_wait

#define pthread_cond_wait (   cp,
  mp 
)    (0)

Definition at line 39 of file no_thr.h.

◆ pthread_create

#define pthread_create (   tidp,
  attrp,
  func,
  arg 
)    ((*(func))(arg), 0)

Definition at line 65 of file no_thr.h.

◆ PTHREAD_CREATE_DETACHED

#define PTHREAD_CREATE_DETACHED   1

Definition at line 54 of file no_thr.h.

◆ pthread_mutex_destroy

#define pthread_mutex_destroy (   mp)    (0)

Definition at line 32 of file no_thr.h.

◆ pthread_mutex_init

#define pthread_mutex_init (   mp,
  ap 
)    (*(mp) = 0)

Definition at line 29 of file no_thr.h.

◆ pthread_mutex_lock

#define pthread_mutex_lock (   mp)    (*(mp) = 1)

Definition at line 30 of file no_thr.h.

◆ pthread_mutex_t

#define pthread_mutex_t   int

Definition at line 26 of file no_thr.h.

◆ pthread_mutex_unlock

#define pthread_mutex_unlock (   mp)    (*(mp) = 0)

Definition at line 31 of file no_thr.h.

◆ pthread_once

#define pthread_once (   ov,
  fun 
)    (*(ov) && ((*(ov) = 1), (fun()), 1))

Definition at line 61 of file no_thr.h.

◆ PTHREAD_ONCE_INIT

#define PTHREAD_ONCE_INIT   0

Definition at line 60 of file no_thr.h.

◆ pthread_once_t

#define pthread_once_t   int

Definition at line 57 of file no_thr.h.

◆ pthread_t

#define pthread_t   int

Definition at line 51 of file no_thr.h.