History log of /seL4-camkes-master/projects/musllibc/src/thread/__set_thread_area.c
Revision Date Author Comments
# 599cf3f4 01-Dec-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

Temporary fix for __set_thread_area on arm


# d0bfbd9d 11-Jul-2012 Rich Felker <dalias@aerifal.cx>

generic c version of __set_thread_area for archs where it works

on other archs, like x86[_64], asm version is required


# 3f72cdac 18-Sep-2011 Rich Felker <dalias@aerifal.cx>

overhaul clone syscall wrapping

several things are changed. first, i have removed the old __uniclone
function signature and replaced it with the "standard" linux
__clone/clone signature. this was necessary to expose clone to
applications anyway, and it makes it easier to port __clone to new
archs, since it's now testable independently of pthread_create.

secondly, i have removed all references to the ugly ldt descriptor
structure (i386 only) from the c code and pthread structure. in places
where it is needed, it is now created on the stack just when it's
needed, in assembly code. thus, the i386 __clone function takes the
desired thread pointer as its argument, rather than an ldt descriptor
pointer, just like on all other sane archs. this should not affect
applications since there is really no way an application can use clone
with threads/tls in a way that doesn't horribly conflict with and
clobber the underlying implementation's use. applications are expected
to use clone only for creating actual processes, possibly with new
namespace features and whatnot.


# d5fd1fa4 17-Sep-2011 Rich Felker <dalias@aerifal.cx>

dummy implementation of set_thread_area

eventually we may have a working "generic" implementation for archs
that don't need anything special. in any case, the goal of having
stubs like this is to allow early testing of new ports before all the
details needed for threads have been filled in. more functions like
this will follow.


# 7b2dd223 15-Feb-2011 Rich Felker <dalias@aerifal.cx>

finish unifying thread register handling in preparation for porting


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

initial check-in, version 0.5.0