SDL/src/thread/pthread
Ryan C. Gordon 75a58303a0 pthread: fix error code checks (thanks, Andreas!).
Most pthread functions return 0 on success and non-zero on error, but those
errors might be positive or negative, so checking for return values in the
Unix style, where errors are less than zero, is a bug.

Fixes Bugzilla #4039.
2018-02-17 23:57:57 -05:00
..
SDL_syscond.c pthread: fix error code checks (thanks, Andreas!). 2018-02-17 23:57:57 -05:00
SDL_sysmutex.c pthread: fix error code checks (thanks, Andreas!). 2018-02-17 23:57:57 -05:00
SDL_sysmutex_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_syssem.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_systhread.c pthread: fix error code checks (thanks, Andreas!). 2018-02-17 23:57:57 -05:00
SDL_systhread_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_systls.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00