85 Commits

Author SHA1 Message Date
twinaphex
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex
b3d3cbd4e1 sthread_isself - make Win32 codepath use GetCurrentThreadId instead 2018-02-28 16:18:48 +01:00
twinaphex
79b434719f Update 2018-01-18 23:23:22 +01:00
Twinaphex
318843a71d
Update ctr_pthread.h 2018-01-18 21:12:07 +01:00
meepingsnesroms
da5ce6ef35 Fix writing to local thread pointer instead of actual thread. 2018-01-18 10:35:58 -08:00
meepingsnesroms
5e42401fdb Add 3DS threads 2018-01-17 14:00:57 -08:00
kwyxz
e65ad7c6d8 Solaris 11 does not like this POSIX define 2018-01-11 14:50:07 -08:00
twinaphex
08d9ee9600 (PSP) Add thread support 2017-12-26 09:45:45 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Alcaro
f3c57ee343 Don't allow more than a billion nanoseconds 2017-10-15 23:25:21 +02:00
Alcaro
2c773a0eb8 Whitespace cleanup 2017-10-15 23:25:21 +02:00
twinaphex
0800047258 (Xbox) Buildfixes 2017-09-12 23:44:05 +02:00
Brad Parker
7d3330da74 use DWORD to avoid type mismatch 2017-09-06 23:05:44 -04:00
Brad Parker
de27275fc9 CreateThread must specify storage for the thread identifier on <= win98 2017-09-06 23:04:19 -04:00
Brad Parker
9c49b693f3 rthreads: early return if thread was null (temporary fix for shutdown crash in win98) 2017-08-22 23:41:58 -04:00
twinaphex
ae2435cf16 Silence some more C89_BUILD warnings 2017-08-12 18:15:26 +02:00
twinaphex
e259a8c63b Try to avoid direct initialization 2017-08-06 01:44:34 +02:00
twinaphex
944eb01fb4 Updates 2017-08-06 01:29:41 +02:00
twinaphex
5b1ecbff87 Remove rsemaphore 2017-04-21 20:41:26 +02:00
Brad Parker
dd80ffc61b FreeBSD buildfix 2017-03-29 16:47:58 +00:00
twinaphex
e95f797307 Try to stay under max. 80-char width limit 2017-02-05 06:01:22 +01:00
twinaphex
e99ba9a06a Cleanups 2017-02-05 05:47:15 +01:00
twinaphex
df962d5898 Silence warnings 2017-02-05 05:45:08 +01:00
Alcaro
7d30b475ba Merge pull request #4392 from zeromus/master
rthreads work from desmume
2017-02-05 02:12:31 +01:00
zeromus
0ef09a0ed4 win32 scond_wait_timeout: refine 0 timeout logic 2017-02-04 16:24:14 -06:00
zeromus
233c13228e attempt win32 scond_wait_timeout 2017-02-03 21:52:52 -06:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
zeromus
168de31fb9 make scond_signal slightly more pthreads compliant (and other tidying). re: PR #4392 2017-01-21 22:44:31 -06:00
zeromus
3e8e02c953 change the main lock mutex to a critical section, and update copyrights year 2017-01-21 17:10:09 -06:00
zeromus
10157c5831 apply feedback re: PR #4392 2017-01-21 16:49:10 -06:00
Brad Parker
e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
zeromus
f4c187e980 - port slock and scond fixes from desmume
- make sthread_isself return false for null test thread
full disclosure: this work was done months ago. I can't be 100% sure I've merged it correctly with recent rthreads.c changes
2017-01-09 16:46:35 -06:00
Brad Parker
9d7fe2c3f0 early return is mutex is null 2017-01-05 21:20:37 -05:00
Twinaphex
c2713a6173 Prevent warning 2016-10-26 02:46:15 +02:00
Higor Eurípedes
330a8d7594 Make thread local storage optional 2016-10-17 21:24:03 -03:00
Higor Eurípedes
471ff4a999 (libretro-common) Add thread local storage 2016-10-17 20:49:37 -03:00
Higor Eurípedes
2109a13ce2 (libretro-common) Fix sthread_isself() documentation 2016-10-17 19:14:31 -03:00
Francisco José García García
ba619c1582 (VITA) Increase thread stack, fixes overlays 2016-10-02 15:58:44 +02:00
twinaphex
8025110f07 Cleanups 2016-09-25 05:18:42 +02:00
frangarcj
c3bf05de96 (VITA) Let's use SDK pthreads 2016-09-09 17:14:50 +02:00
frangarcj
434d70ce13 (VITA) Silence rthreads 2016-09-06 09:27:52 +02:00
twinaphex
aed2dfe630 (psp_pthread.h) Cleanup 2016-08-29 21:26:06 +02:00
Francisco José García García
c852c98e70 (VITA) FIX mame2000 2016-08-25 13:56:24 +02:00
Francisco José García García
6e920f17dc (VITA) Add threads support 2016-08-19 02:59:25 +02:00
twinaphex
340519fa61 (libretro-common) Updates 2016-08-11 00:41:11 +02:00
twinaphex
c675bcb7d8 (Rthreads) Update for Vita 2016-08-08 19:42:36 +02:00
Ernesto Ramirez
5b17cbcb2a (GX) Fix long lasting bug that prevented PCE CD and SEGA CD games to run on Wii. 2016-07-25 20:27:08 -05:00
twinaphex
51e2da2cbd Revert this back - reintroduce the leak but should hopefully
solve issues on newer Intel CPUs
2016-07-06 13:21:08 +02:00