76 Commits

Author SHA1 Message Date
twinaphex
c7bb666214 CRITICAL_SECTION implementation can differ - use calloc here 2020-06-29 14:19:50 +02:00
twinaphex
03b232552e (MSVC) Buildfix 2020-06-29 13:53:40 +02:00
Twinaphex
fc2e11d4b7 Fix pthread codepath 2020-06-28 23:31:44 +02:00
twinaphex
6d50ac7cb7 Cleanups 2020-06-28 22:59:51 +02:00
Francisco Javier Trujillo Mata
1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
Nils Hasenbanck
d046594591 Fix ffmpeg core memory leak when using pthreads. 2019-12-18 15:05:01 +01:00
twinaphex
362b76fd74 Update sthread_get_current_thread_id 2019-10-21 14:01:09 +02:00
twinaphex
e968dd85e2 Implement sthread_get_thread_id (functional equivalent for
SDL_GetThreadId) and sthread_get_current_thread_id (functional
equivalent
for SDL_ThreadID)
2019-10-20 23:55:19 +02:00
twinaphex
a36d5926d7 Cleanups 2019-09-17 05:30:07 +02:00
twinaphex
4c276feb4a Update 2019-07-17 23:16:25 +02:00
M4xw
ca80a3a4da [Libnx] Toolchain related changes
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+

Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
Francisco Javier Trujillo Mata
d5a8c30dfe PS2 Timing Improvement 2019-01-05 18:47:39 +01:00
Francisco José García García
f02ef2e0c6 [ORBIS] Initial Platform driver + minor changes 2018-12-27 20:17:48 +01:00
Benjamin FRANCOIS
d8483a9dc9 Temporary fix until Haiku implements the optional POSIX functions 2018-11-12 21:52:01 +00:00
Francisco Javier Trujillo Mata
0880bd00b0 PS2 is compiling with null drivers 2018-11-09 22:40:50 +01:00
twinaphex
1b1a0c8d27 Stub this out for GEKKO 2018-10-10 02:01:34 +02:00
twinaphex
f277489efc Comment out pthread attr for 3DS 2018-10-09 15:35:39 +02:00
twinaphex
0d699208d3 Update rthreads 2018-10-09 03:55:34 +02:00
twinaphex
521b978d31 Add sthread_create_with_priority - missing functionality from desmume
rthreads implementation
2018-10-09 03:43:34 +02:00
M4xw
3a6e410833 [LIBNX] Add pthreads wrapper 2018-09-15 02:28:52 +02:00
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
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
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