ladybird/Libraries/LibPthread
Tom bcb9363a97 LibPthread: Return errors as positive return values
pthread implementations generally return errors as a positive non-zero
value. Our kernel generally returns errors as negative values. If we
receive a negative value from a system call, turn it into a positive
return value to relay the error appropriately.

Also, fix the tt test utility to not rely on errno, as the pthread
library does not use errno.
2020-12-12 21:28:12 +01:00
..
CMakeLists.txt LibPthread: Implement pthread_once() 2020-11-24 21:36:28 +01:00
pthread.cpp LibPthread: Return errors as positive return values 2020-12-12 21:28:12 +01:00
pthread.h LibPthread: Implement pthread_once() 2020-11-24 21:36:28 +01:00
pthread_once.cpp LibPthread: Implement pthread_once() 2020-11-24 21:36:28 +01:00