fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 1 | GLIBC_2.0 { |
| 2 | pthread_join; pthread_self; pthread_equal; |
| 3 | pthread_exit; pthread_detach; |
sewardj | 4c6fcf1 | 2002-05-10 01:42:33 +0000 | [diff] [blame] | 4 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 5 | pthread_getschedparam; pthread_setschedparam; |
sewardj | 4c6fcf1 | 2002-05-10 01:42:33 +0000 | [diff] [blame] | 6 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 7 | pthread_attr_destroy; |
| 8 | pthread_attr_getdetachstate; pthread_attr_setdetachstate; |
| 9 | pthread_attr_getschedparam; pthread_attr_setschedparam; |
| 10 | pthread_attr_getschedpolicy; pthread_attr_setschedpolicy; |
| 11 | pthread_attr_getinheritsched; pthread_attr_setinheritsched; |
| 12 | pthread_attr_getscope; pthread_attr_setscope; |
sewardj | 0facc4f | 2002-05-10 01:52:58 +0000 | [diff] [blame] | 13 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 14 | pthread_mutex_init; pthread_mutex_destroy; |
| 15 | pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock; |
sewardj | 87a03a4 | 2002-05-18 10:51:25 +0000 | [diff] [blame] | 16 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 17 | pthread_mutexattr_init; pthread_mutexattr_destroy; |
sewardj | 87a03a4 | 2002-05-18 10:51:25 +0000 | [diff] [blame] | 18 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 19 | # Don't version these, because it doesn't matter for Valgrind's libpthread |
| 20 | #pthread_cond_init; pthread_cond_destroy; |
| 21 | #pthread_cond_wait; pthread_cond_timedwait; |
| 22 | #pthread_cond_signal; pthread_cond_broadcast; |
sewardj | 8407554 | 2003-02-24 21:24:41 +0000 | [diff] [blame] | 23 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame^] | 24 | pthread_condattr_destroy; pthread_condattr_init; |
| 25 | |
| 26 | pthread_cancel; pthread_testcancel; |
| 27 | pthread_setcancelstate; pthread_setcanceltype; |
| 28 | |
| 29 | pthread_sigmask; pthread_kill; |
| 30 | |
| 31 | pthread_key_create; pthread_key_delete; |
| 32 | pthread_getspecific; pthread_setspecific; |
| 33 | |
| 34 | pthread_once; |
| 35 | |
| 36 | pthread_atfork; |
| 37 | |
| 38 | flockfile; funlockfile; ftrylockfile; |
| 39 | |
| 40 | # Non-standard POSIX1.x functions. |
| 41 | pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np; |
| 42 | |
| 43 | # Protected names for functions used in other shared objects. |
| 44 | __pthread_mutex_init; __pthread_mutex_destroy; |
| 45 | __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock; |
| 46 | __pthread_mutexattr_init; __pthread_mutexattr_destroy; |
| 47 | __pthread_mutexattr_settype; |
| 48 | __pthread_key_create; __pthread_getspecific; __pthread_setspecific; |
| 49 | __pthread_once; __pthread_atfork; |
| 50 | _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile; |
| 51 | |
| 52 | # Hidden entry point (through macros). |
| 53 | #_pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push; |
| 54 | #_pthread_cleanup_push_defer; |
| 55 | |
| 56 | # Semaphores. |
| 57 | #sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait; |
| 58 | |
| 59 | # Special fork handling. |
| 60 | fork; __fork; vfork; |
| 61 | |
| 62 | # Cancellation points. |
| 63 | close; __close; fcntl; __fcntl; read; __read; write; __write; accept; |
| 64 | connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto; |
| 65 | fsync; lseek; __lseek; msync; nanosleep; open; __open; pause; tcdrain; |
| 66 | system; wait; __wait; waitpid; |
| 67 | |
| 68 | # Hidden entry point (through macros). |
| 69 | _pthread_cleanup_push; _pthread_cleanup_pop; |
| 70 | _pthread_cleanup_push_defer; _pthread_cleanup_pop_restore; |
| 71 | |
| 72 | pthread_kill_other_threads_np; |
| 73 | |
| 74 | # The error functions. |
| 75 | __errno_location; __h_errno_location; |
| 76 | |
| 77 | # Functions which previously have been overwritten. |
| 78 | sigwait; sigaction; __sigaction; _exit; _Exit; longjmp; siglongjmp; |
| 79 | raise; |
| 80 | }; |
| 81 | |
| 82 | GLIBC_2.1 { |
| 83 | pthread_create; |
| 84 | pthread_attr_init; |
| 85 | |
| 86 | pthread_attr_getguardsize; pthread_attr_setguardsize; |
| 87 | pthread_attr_getstackaddr; pthread_attr_setstackaddr; |
| 88 | pthread_attr_getstacksize; pthread_attr_setstacksize; |
| 89 | |
| 90 | pthread_mutexattr_gettype; pthread_mutexattr_settype; |
| 91 | |
| 92 | pthread_rwlock_init; pthread_rwlock_destroy; |
| 93 | pthread_rwlock_rdlock; pthread_rwlock_wrlock; pthread_rwlock_unlock; |
| 94 | pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock; |
| 95 | |
| 96 | pthread_rwlockattr_init; pthread_rwlockattr_destroy; |
| 97 | pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared; |
| 98 | pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np; |
| 99 | |
| 100 | pthread_getconcurrency; pthread_setconcurrency; |
| 101 | |
| 102 | # Semaphores. |
| 103 | sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait; |
| 104 | |
| 105 | __libc_current_sigrtmin; __libc_current_sigrtmax; |
| 106 | __libc_allocate_rtsig; |
| 107 | } GLIBC_2.0; |
| 108 | |
| 109 | GLIBC_2.1.1 { |
| 110 | sem_close; sem_open; sem_unlink; |
| 111 | } GLIBC_2.1; |
| 112 | |
| 113 | GLIBC_2.1.2 { |
| 114 | __vfork; |
| 115 | } GLIBC_2.1.1; |
| 116 | |
| 117 | GLIBC_2.2 { |
| 118 | pthread_mutexattr_getpshared; pthread_mutexattr_setpshared; |
| 119 | |
| 120 | pthread_condattr_getpshared; pthread_condattr_setpshared; |
| 121 | |
| 122 | # New functions from IEEE Std. 1003.1-2001. |
| 123 | pthread_mutex_timedlock; |
| 124 | |
| 125 | pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock; |
| 126 | |
| 127 | pthread_attr_getstack; pthread_attr_setstack; |
| 128 | |
| 129 | pthread_spin_destroy; pthread_spin_init; pthread_spin_lock; |
| 130 | pthread_spin_trylock; pthread_spin_unlock; |
| 131 | |
| 132 | pthread_barrier_init; pthread_barrier_destroy; pthread_barrier_wait; |
| 133 | pthread_barrierattr_destroy; pthread_barrierattr_init; |
| 134 | pthread_barrierattr_setpshared; |
| 135 | |
| 136 | sem_timedwait; |
| 137 | |
| 138 | pthread_yield; |
| 139 | |
| 140 | pthread_getcpuclockid; |
| 141 | |
| 142 | # Cancellation points. |
| 143 | lseek64; open64; __open64; pread; pread64; __pread64; pwrite; pwrite64; |
| 144 | __pwrite64; |
| 145 | |
| 146 | # Names used internally. |
| 147 | __pthread_rwlock_init; __pthread_rwlock_destroy; |
| 148 | __pthread_rwlock_rdlock; __pthread_rwlock_tryrdlock; |
| 149 | __pthread_rwlock_wrlock; __pthread_rwlock_trywrlock; |
| 150 | __pthread_rwlock_unlock; |
| 151 | |
| 152 | __res_state; |
| 153 | } GLIBC_2.1.2; |
| 154 | |
| 155 | GLIBC_2.2.3 { |
| 156 | # Extensions. |
| 157 | pthread_getattr_np; |
| 158 | } GLIBC_2.2; |
| 159 | |
| 160 | GLIBC_2.2.6 { |
| 161 | # Cancellation wrapper |
| 162 | __nanosleep; |
| 163 | } GLIBC_2.2.3; |
| 164 | |
| 165 | GLIBC_2.3.2 { |
| 166 | # Changed pthread_cond_t. |
| 167 | # Don't version these, because it doesn't matter for Valgrind's libpthread |
| 168 | #pthread_cond_init; pthread_cond_destroy; |
| 169 | #pthread_cond_wait; pthread_cond_timedwait; |
| 170 | #pthread_cond_signal; pthread_cond_broadcast; |
| 171 | } GLIBC_2.2.6; |
| 172 | |
| 173 | GLIBC_2.3.3 { |
| 174 | # 1003.1-2001 function accidentally left out in 2.2. |
| 175 | pthread_barrierattr_getpshared; |
| 176 | |
| 177 | # Unix CS option. |
| 178 | pthread_condattr_getclock; pthread_condattr_setclock; |
| 179 | |
| 180 | # Proposed API extensions. |
| 181 | pthread_tryjoin_np; pthread_timedjoin_np; |
| 182 | |
| 183 | # New cancellation cleanup handling. |
| 184 | __pthread_register_cancel; __pthread_unregister_cancel; |
| 185 | __pthread_register_cancel_defer; __pthread_unregister_cancel_restore; |
| 186 | __pthread_unwind_next; |
| 187 | __pthread_cleanup_routine; |
| 188 | |
| 189 | # New affinity interfaces. |
| 190 | pthread_getaffinity_np; pthread_setaffinity_np; |
| 191 | pthread_attr_getaffinity_np; pthread_attr_setaffinity_np; |
| 192 | } GLIBC_2.3.2; |
| 193 | |
| 194 | GLIBC_PRIVATE { |
| 195 | __pthread_initialize_minimal; __pthread_cleanup_upto; |
| 196 | __pthread_clock_gettime; __pthread_clock_settime; |
| 197 | __pthread_unwind; |
| 198 | }; |