diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-30 17:19:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-30 17:19:22 +0000 |
commit | cfcad9c1b1a3cb4daed1c15bfa000a619db95768 (patch) | |
tree | 31d81e27869419361e1b1233dbecc39f7a1903b7 /libc | |
parent | b26ab3f5bf69b2c00a34e240bca681904144e33d (diff) |
Patch from Christian Krause:
I found a problem in uClibc in libpthread/linuxthres/condvar.c:
pthread_cond_timedwait never uses rt singals
uClibc has two implementations of pthread_cond_timewait -
pthread_cond_timedwait_relative_old using the "normal" signals and
pthread_cond_timedwait_relative_new usign the rt signals
(for kernels >= 2.2).
The function pointer pthread_cond_tw_rel is initialised with the old
function. In "__pthread_init_condvar(int)" this pointer is set to the new
function using rt signals, but "__pthread_init_condvar" is never called in
the uClibc.
The following patch solves this issue, so that __pthread_init_condvars
is called and the function pointer is always initialised with the correct
function.
regards,
christian
Diffstat (limited to 'libc')
0 files changed, 0 insertions, 0 deletions