mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 08:36:28 +03:00
pthread_cond_timedwait takes an absolute time as an argument, which the function directly passes on to the kernel via the futex syscall. In an application this absolute time argument is calculated via the fake times provided by libfaketime. Since the kernel has no knowledge of the fake time, pthread_cond_timedwait must be redefined such that it converts the fake time back to real time before passing it on.
22 lines
412 B
Plaintext
22 lines
412 B
Plaintext
GLIBC_2.2 {
|
|
global:
|
|
|
|
timer_gettime; timer_settime;
|
|
local: timer_settime_*; timer_gettime_*;
|
|
};
|
|
|
|
GLIBC_2.3.3 {
|
|
# Changed timer_t.
|
|
timer_gettime; timer_settime;
|
|
} GLIBC_2.2;
|
|
|
|
GLIBC_2.2.5 {
|
|
global: pthread_cond_timedwait;
|
|
local: pthread_cond_timedwait_*; pthread_cond_init_*; pthread_cond_destroy*;
|
|
};
|
|
|
|
GLIBC_2.3.2 {
|
|
pthread_cond_timedwait; pthread_cond_init; pthread_cond_destroy;
|
|
} GLIBC_2.2.5;
|
|
|