summaryrefslogtreecommitdiff
path: root/src/time/clock_gettime.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-09 20:21:23 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-09 20:21:23 -0500
commit6dc05fbe198ccb326dceb8f05ee943f9a4dfb4ba (patch)
tree208a7b8da2bd16000f4b1d7343a91cf267dda055 /src/time/clock_gettime.c
parent0bed7e0acfd34e3fb63ca0e4d99b7592571355a9 (diff)
downloadmusl-6dc05fbe198ccb326dceb8f05ee943f9a4dfb4ba.tar.gz
optimize pthread initialization
the set_tid_address returns the tid (which is also the pid when called from the initial thread) so there is no need to make a separate syscall to get pid/tid.
Diffstat (limited to 'src/time/clock_gettime.c')
0 files changed, 0 insertions, 0 deletions