(libthread): Add sem_close, sem_open, and sem_unlink for GLIBC_2.1.1.
[kopensolaris-gnu/glibc.git] / linuxthreads / Versions
1 libc {
2   GLIBC_2.0 {
3     pthread_attr_destroy; pthread_attr_getdetachstate;
4     pthread_attr_getinheritsched; pthread_attr_getschedparam;
5     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
6     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
7     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
8     pthread_attr_setscope; pthread_cond_broadcast; pthread_cond_destroy;
9     pthread_cond_init; pthread_cond_signal; pthread_cond_wait;
10     pthread_condattr_destroy; pthread_condattr_init; pthread_equal;
11     pthread_exit; pthread_getschedparam; pthread_mutex_destroy;
12     pthread_mutex_init; pthread_mutex_lock; pthread_mutex_unlock;
13     pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
14     pthread_self; pthread_setcancelstate; pthread_setcanceltype;
15     pthread_setschedparam;
16
17     # Internal libc interface to libpthread
18     __libc_internal_tsd_get; __libc_internal_tsd_set;
19   }
20   GLIBC_2.1 {
21     pthread_attr_init;
22   }
23 }
24
25 libpthread {
26   GLIBC_2.0 {
27     # Hidden entry point (through macros).
28     _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
29     _pthread_cleanup_push_defer;
30
31     # Internal libc interface to libpthread
32     __libc_internal_tsd_get; __libc_internal_tsd_set;
33
34     # Overwritten libc functions.
35     accept; close; connect; fcntl; fork; fsync; longjmp; lseek; msync;
36     nanosleep; open; pause; raise; read; recv; recvfrom; recvmsg; send;
37     sendmsg; sendto; sigaction; siglongjmp; system; tcdrain; wait;
38     waitpid; write;
39     __close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
40     __write;
41     _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
42
43     # POSIX.1c extensions to libc.
44     flockfile; funlockfile; ftrylockfile;
45
46     # Non-standard POSIX1.x functions.
47     pthread_kill_other_threads_np; pthread_mutexattr_getkind_np;
48     pthread_mutexattr_setkind_np;
49
50     # Real POSIX.1c functions.
51     pthread_atfork; pthread_attr_destroy; pthread_attr_getdetachstate;
52     pthread_attr_getinheritsched; pthread_attr_getschedparam;
53     pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
54     pthread_attr_setdetachstate; pthread_attr_setinheritsched;
55     pthread_attr_setschedparam; pthread_attr_setschedpolicy;
56     pthread_attr_setscope; pthread_cancel; pthread_cond_broadcast;
57     pthread_cond_destroy; pthread_cond_init; pthread_cond_signal;
58     pthread_cond_timedwait; pthread_cond_wait; pthread_condattr_destroy;
59     pthread_condattr_init; pthread_create; pthread_detach; pthread_equal;
60     pthread_exit; pthread_getschedparam; pthread_getspecific; pthread_join;
61     pthread_key_create; pthread_key_delete; pthread_kill;
62     pthread_mutex_destroy; pthread_mutex_init; pthread_mutex_lock;
63     pthread_mutex_trylock; pthread_mutex_unlock; pthread_mutexattr_destroy;
64     pthread_mutexattr_init; pthread_once; pthread_self; pthread_setcancelstate;
65     pthread_setcanceltype; pthread_setschedparam; pthread_setspecific;
66     pthread_sigmask; pthread_testcancel;
67
68     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
69     sigwait;
70
71     # Protected names for functions used in other shared objects.
72     __pthread_atfork; __pthread_initialize; __pthread_getspecific;
73     __pthread_key_create; __pthread_mutex_destroy; __pthread_mutex_init;
74     __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
75     __pthread_mutexattr_destroy; __pthread_mutexattr_init;
76     __pthread_mutexattr_settype; __pthread_once; __pthread_setspecific;
77
78     # The error functions.
79     __errno_location; __h_errno_location;
80   }
81   GLIBC_2.1 {
82     # Functions with changed interface.
83     pthread_attr_init; pthread_create;
84
85     # Unix98 extensions.
86     pthread_rwlock_init; pthread_rwlock_destroy; pthread_rwlock_rdlock;
87     pthread_rwlock_tryrdlock; pthread_rwlock_wrlock; pthread_rwlock_trywrlock;
88     pthread_rwlock_unlock; pthread_rwlockattr_init; pthread_rwlockattr_destroy;
89     pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
90     pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
91
92     pthread_attr_getguardsize; pthread_attr_setguardsize;
93     pthread_attr_getstackaddr; pthread_attr_setstackaddr;
94     pthread_attr_getstacksize; pthread_attr_setstacksize;
95
96     pthread_getconcurrency; pthread_setconcurrency;
97
98     pthread_mutexattr_gettype; pthread_mutexattr_settype;
99
100     # helper functions
101     __libc_current_sigrtmin; __libc_current_sigrtmax;
102     __libc_allocate_rtsig;
103   }
104   GLIBC_2.1.1 {
105     sem_close; sem_open; sem_unlink;
106   }
107 }