Dave Yeo
9e6ee46c7d
compat/os2threads: define INCL_DOSERRORS
...
This is needed to pull in the define for ERROR_TIMEOUT
Signed-off-by: Dave Yeo <daveryeo@telus.net>
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Matt Oliver
fc6fde22c3
avutil/thread: Add pthread_cond_timedwait function
...
v2: fix calculating milisecond times and use SleepConditionVariableSRW.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
5 years ago
KO Myung-Hun
3c0a081a1e
compat/os2threads: support static mutexes
...
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
KO Myung-Hun
b8bc6b14a5
compat/os2threads: split long lines
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
KO Myung-Hun
6bf5e7d3e7
compat/os2threads: support the return value of joined thread
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
KO Myung-Hun
22a4046d66
compat/os2threads: Improve pthread_cond_xxx() functions
...
1. Manipulate waiting count in pthread_cond_wait()
2. Use builtin atomic functions to manipulate waiting count
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
180f9a0958
all: Make header guard names consistent
9 years ago
KO Myung-Hun
6248f23859
os2threads: Add pthread_once()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ea9daefe93
compat/os2threads: Check av_malloc() return code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Dave Yeo
f9c6044a6f
Fix compilation with os2threads
...
Signed-off-by: Dave Yeo <daveryeo@telus.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Dave Yeo
e615a77799
os2threads: move from lavc to compat/
...
For useage in other places besides lavc. Needed after commit
90f9a5830b
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
KO Myung-Hun
ad0bdd2fd2
lavc: add supports of OS/2 threads
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago