Commit Graph

74 Commits

Author SHA1 Message Date
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
twinaphex
6a9fb1186d Should hopefully fix issues 2016-07-06 00:32:41 +02:00
twinaphex
b0ea1e09ac thread_wrapp - improve this a bit 2016-07-04 11:39:20 +02:00
twinaphex
b2bc4cd300 Check if data->func is NULL and if so, early return 2016-07-04 11:32:43 +02:00
FIX94
dc127f1555 fixed a typo in the video settings setup and added back display of the driver specific video settings
(GX) removed a compiler warning
2016-06-25 17:14:31 +02:00
twinaphex
e7aedb6fb9 Remove unneeded async_job - plug memory leak in cheevos.c 2016-05-27 05:19:27 +02:00
twinaphex
a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex
59f3e733fb (libretro-common) rthreads - PS3 buildfix 2016-05-21 13:38:07 +02:00
Twinaphex
77649b2f23 Fix memory leak in async_job_free 2016-05-06 19:14:38 +02:00
twinaphex
10fe532d29 Cleanup 2016-05-06 06:25:06 +02:00
twinaphex
5db093924c Cleanup - slock_new 2016-05-06 06:05:30 +02:00
twinaphex
001aa3ba4a Add ssem_get - SDL_SemValue equivalent 2016-04-05 19:08:41 +02:00