History log of /seL4-test-master/projects/musllibc/src/thread/pthread_equal.c
Revision Date Author Comments
# 23614b0f 07-Sep-2014 Rich Felker <dalias@aerifal.cx>

add C11 thread creation and related thread functions

based on patch by Jens Gustedt.

the main difficulty here is handling the difference between start
function signatures and thread return types for C11 threads versus
POSIX threads. pointers to void are assumed to be able to represent
faithfully all values of int. the function pointer for the thread
start function is cast to an incorrect type for passing through
pthread_create, but is cast back to its correct type before calling so
that the behavior of the call is well-defined.

changes to the existing threads implementation were kept minimal to
reduce the risk of regressions, and duplication of code that carries
implementation-specific assumptions was avoided for ease and safety of
future maintenance.


# 9205e486 14-Aug-2011 Rich Felker <dalias@aerifal.cx>

macro for pthread_equal

no sense bloating apps with a function call for an equality comparison...


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0