summaryrefslogtreecommitdiff
path: root/core/thread.c
AgeCommit message (Collapse)Author
46 hourscore: thread: make helper functions staticDanny Holman
Make the helper functions for the thread API static so that they aren't usable outside the thread API's translation unit. Signed-off-by: Danny Holman <dholman@gymli.org>
13 dayscore: thread: wrap the pthreads APIDanny Holman
Create wrapper functions over the pthread API so that the engine only has to provide an integer ID for threads and mutexes. The thread and mutex handles should be handled internally so that the end user never sees the underlying datatypes. Signed-off-by: Danny Holman <dholman@gymli.org>