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)  

hp_pthread.h
Go to the documentation of this file.
1 /*
2 ** hp_pthread.h - CMA Pthreads definitions for systems missing the
3 ** <pthread.h> header file, but having the CMA library.
4 ** (Ie: HP-UX 10.20)
5 **
6 ** Copyright (c) 1997 Peter Eriksson <pen@lysator.liu.se>
7 **
8 ** This program is free software; you can redistribute it and/or
9 ** modify it as you wish - as long as you don't claim that you wrote
10 ** it.
11 **
12 ** This program is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 */
16 
17 #ifndef PIDENTD_HP_PTHREAD_H
18 #define PIDENTD_HP_PTHREAD_H
19 
20 #include <sys/time.h>
21 
22 extern int *__errno();
23 #define errno (*__errno())
24 
25 
26 typedef struct
27 {
28  void *field1;
29  short int field2;
30  short int field3;
31 } cma_t_handle;
32 
36 
40 
41 typedef struct
42 {
43  int f1;
44  int f2;
45  int f3;
47 
48 
49 /*
50 ** Global default attribute variables
51 */
55 
56 
57 extern int
60 
61 extern int
63 
64 extern int
66 
67 extern int
69 
70 
71 
72 extern int
75 
76 extern int
78  pthread_mutex_t *);
79 
80 extern int
83  struct timespec *);
84 
85 extern int
87 
88 extern int
90 
91 extern int
93 
94 
95 extern int
98  void *(*)(void *),
99  void *);
100 
101 extern int
103  void (*)(void));
104 
105 #endif
pthread_once_t
#define pthread_once_t
Definition: no_thr.h:57
pthread_mutex_init
int pthread_mutex_init(pthread_mutex_t *, pthread_mutexattr_t)
pthread_cond_t
cma_t_handle pthread_cond_t
Definition: hp_pthread.h:39
pthread_cond_init
int pthread_cond_init(pthread_cond_t *, pthread_condattr_t)
pthread_once_t::f1
int f1
Definition: hp_pthread.h:43
pthread_once
int pthread_once(pthread_once_t *, void(*)(void))
cma_t_handle::field3
short int field3
Definition: hp_pthread.h:30
pthread_condattr_t
cma_t_handle pthread_condattr_t
Definition: hp_pthread.h:35
pthread_create
int pthread_create(pthread_t *, pthread_attr_t, void *(*)(void *), void *)
pthread_once_t::f2
int f2
Definition: hp_pthread.h:44
pthread_mutexattr_t
cma_t_handle pthread_mutexattr_t
Definition: hp_pthread.h:34
cma_t_handle::field1
void * field1
Definition: hp_pthread.h:28
pthread_mutex_destroy
int pthread_mutex_destroy(pthread_mutex_t *)
pthread_cond_destroy
int pthread_cond_destroy(pthread_cond_t *)
cma_t_handle::field2
short int field2
Definition: hp_pthread.h:29
pthread_cond_broadcast
int pthread_cond_broadcast(pthread_cond_t *)
pthread_cond_wait
int pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *)
__errno
int * __errno()
pthread_attr_t
cma_t_handle pthread_attr_t
Definition: hp_pthread.h:33
pthread_cond_timedwait
int pthread_cond_timedwait(pthread_cond_t *, pthread_mutex_t *, struct timespec *)
pthread_t
cma_t_handle pthread_t
Definition: hp_pthread.h:37
cma_t_handle
Definition: hp_pthread.h:26
pthread_mutex_unlock
int pthread_mutex_unlock(pthread_mutex_t *)
pthread_mutex_lock
int pthread_mutex_lock(pthread_mutex_t *)
pthread_once_t
Definition: hp_pthread.h:41
pthread_mutex_t
cma_t_handle pthread_mutex_t
Definition: hp_pthread.h:38
pthread_condattr_default
pthread_condattr_t pthread_condattr_default
pthread_cond_signal
int pthread_cond_signal(pthread_cond_t *)
pthread_mutexattr_default
pthread_mutexattr_t pthread_mutexattr_default
pthread_once_t::f3
int f3
Definition: hp_pthread.h:45
pthread_attr_default
pthread_attr_t pthread_attr_default