summaryrefslogtreecommitdiff
blob: 4e0ebac28546a6b92774a9951cecfece0b935549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
libc {
  GLIBC_2.21 {
    pthread_attr_destroy; pthread_attr_getdetachstate;
    pthread_attr_getinheritsched; pthread_attr_getschedparam;
    pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
    pthread_attr_setdetachstate; pthread_attr_setinheritsched;
    pthread_attr_setschedparam; pthread_attr_setschedpolicy;
    pthread_attr_setscope;
    pthread_condattr_destroy; pthread_condattr_init;
    pthread_cond_broadcast; pthread_cond_destroy;
    pthread_cond_init; pthread_cond_signal; pthread_cond_wait;
    pthread_cond_timedwait;
    pthread_equal;
    pthread_exit; pthread_getschedparam; pthread_setschedparam;
    pthread_mutex_destroy; pthread_mutex_init;
    pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
    pthread_self; pthread_setcancelstate; pthread_setcanceltype;
    __pthread_get_cleanup_stack;
  }
  GLIBC_2.22 {
    __register_atfork;
  }

  # C11 thread symbols.
  GLIBC_2.32 {
    thrd_current; thrd_equal; thrd_sleep; thrd_yield;
  }

  GLIBC_PRIVATE {
    __libc_alloca_cutoff;
    __libc_pthread_init;
    __pthread_cleanup_stack;
  }
}

libpthread {
  GLIBC_2.2.6 {
    _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
    __errno_location; __h_errno_location;
  }
  GLIBC_2.12 {
    __pthread_get_cleanup_stack;

    __pthread_mutex_transfer_np;

    cthread_detach;
    cthread_fork;
    cthread_keycreate;
    cthread_getspecific;
    cthread_setspecific;
    __mutex_lock_solid;
    __mutex_unlock_solid;
    _cthreads_flockfile;
    _cthreads_ftrylockfile;
    _cthreads_funlockfile;

    flockfile; ftrylockfile; funlockfile;

    pthread_atfork;

    pthread_attr_destroy; pthread_attr_getdetachstate;
    pthread_attr_getguardsize; pthread_attr_getinheritsched;
    pthread_attr_getschedparam; pthread_attr_getschedpolicy;
    pthread_attr_getscope; pthread_attr_getstack; pthread_attr_getstackaddr;
    pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate;
    pthread_attr_setguardsize; pthread_attr_setinheritsched;
    pthread_attr_setschedparam; pthread_attr_setschedpolicy;
    pthread_attr_setscope; pthread_attr_setstack; pthread_attr_setstackaddr;
    pthread_attr_setstacksize;

    pthread_barrier_destroy; pthread_barrier_init; pthread_barrier_wait;
    pthread_barrierattr_destroy; pthread_barrierattr_getpshared;
    pthread_barrierattr_init; pthread_barrierattr_setpshared;

    pthread_cancel;

    pthread_cond_broadcast; pthread_cond_destroy; pthread_cond_init;
    pthread_cond_signal; pthread_cond_timedwait; pthread_cond_wait;

    pthread_condattr_destroy; pthread_condattr_getclock;
    pthread_condattr_getpshared; pthread_condattr_init;
    pthread_condattr_setclock; pthread_condattr_setpshared;

    pthread_create; pthread_detach; pthread_equal; pthread_exit;

    pthread_getattr_np;

    pthread_getconcurrency; pthread_getcpuclockid;
    pthread_getschedparam; pthread_getspecific;

    pthread_join;

    pthread_key_create; pthread_key_delete;
    __pthread_key_create;

    pthread_kill;
    __pthread_kill;

    pthread_mutex_destroy; pthread_mutex_getprioceiling;
    pthread_mutex_init; pthread_mutex_lock; pthread_mutex_setprioceiling;
    pthread_mutex_timedlock; pthread_mutex_transfer_np;
    pthread_mutex_trylock; pthread_mutex_unlock;

    pthread_mutexattr_destroy; pthread_mutexattr_getprioceiling;
    pthread_mutexattr_getprotocol; pthread_mutexattr_getpshared;
    pthread_mutexattr_gettype; pthread_mutexattr_init;
    pthread_mutexattr_setprioceiling; pthread_mutexattr_setprotocol;
    pthread_mutexattr_setpshared; pthread_mutexattr_settype;

    pthread_once;

    pthread_rwlock_destroy; pthread_rwlock_init; pthread_rwlock_rdlock;
    pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock;
    pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock;
    pthread_rwlock_unlock; pthread_rwlock_wrlock;

    pthread_rwlockattr_destroy; pthread_rwlockattr_getpshared;
    pthread_rwlockattr_init; pthread_rwlockattr_setpshared;

    pthread_self;
    __pthread_self;

    pthread_setcancelstate; pthread_setcanceltype;
    pthread_setconcurrency; pthread_setschedparam;
    pthread_setschedprio; pthread_setspecific;

    pthread_sigmask;
    pthread_testcancel;
    pthread_yield;

    sem_close; sem_destroy; sem_getvalue; sem_init; sem_open; sem_post;
    sem_timedwait; sem_trywait; sem_unlink; sem_wait;

    pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
    pthread_spin_trylock; pthread_spin_unlock;
    __pthread_spin_destroy; __pthread_spin_init;
    __pthread_spin_lock; __pthread_spin_trylock; __pthread_spin_unlock;
    _pthread_spin_lock;
  }
  GLIBC_2.21 {
    pthread_hurd_cond_wait_np;
    pthread_hurd_cond_timedwait_np;
  }

  GLIBC_2.32 {
    # C11 thread symbols.
    thrd_create; thrd_detach; thrd_exit; thrd_join;
    mtx_init; mtx_lock; mtx_timedlock; mtx_trylock; mtx_unlock; mtx_destroy;
    call_once;
    cnd_broadcast; cnd_destroy; cnd_init; cnd_signal; cnd_timedwait; cnd_wait;
    tss_create; tss_delete; tss_get; tss_set;

    pthread_cond_clockwait;

    pthread_mutexattr_getrobust; pthread_mutexattr_getrobust_np;
    pthread_mutexattr_setrobust; pthread_mutexattr_setrobust_np;

    pthread_mutex_consistent; pthread_mutex_consistent_np;
    pthread_mutex_clocklock;

    pthread_rwlock_clockrdlock; pthread_rwlock_clockwrlock;

    pthread_tryjoin_np; pthread_timedjoin_np; pthread_clockjoin_np;

    sem_clockwait;
  }

  GLIBC_PRIVATE {
    __pthread_initialize_minimal;

    __cthread_detach;
    __cthread_fork;
    __pthread_detach;
    __pthread_create;
    __cthread_keycreate;
    __cthread_getspecific;
    __cthread_setspecific;
    __pthread_getspecific;
    __pthread_setspecific;
    __pthread_getattr_np;
    __pthread_attr_getstack;
    __pthread_mutex_init;
    __pthread_mutex_destroy;
    __pthread_mutex_timedlock;
    __pthread_enable_asynccancel;
    __pthread_disable_asynccancel;

    __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
    _pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock;
    _pthread_rwlock_destroy; _pthread_rwlock_init;
  }
}