summaryrefslogtreecommitdiff
path: root/src/misc/getpriority.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/misc/getpriority.c
parent0bed7e0acfd34e3fb63ca0e4d99b7592571355a9 (diff)
downloadmusl-6dc05fbe198ccb326dceb8f05ee943f9a4dfb4ba.tar.gz
musl-6dc05fbe198ccb326dceb8f05ee943f9a4dfb4ba.tar.bz2
musl-6dc05fbe198ccb326dceb8f05ee943f9a4dfb4ba.tar.xz
musl-6dc05fbe198ccb326dceb8f05ee943f9a4dfb4ba.zip
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/misc/getpriority.c')
0 files changed, 0 insertions, 0 deletions