summaryrefslogtreecommitdiff
path: root/include/sys/kd.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-02-22 02:56:10 -0500
committerRich Felker <dalias@aerifal.cx>2019-02-22 03:25:39 -0500
commitba18c1ecc6a18203ad8496791154af86f706f632 (patch)
treed1e407e0b4f3fbe9e4463e66c960473112159981 /include/sys/kd.h
parent7865d569de7b29dd90b94b5680ec7a2a86ed27af (diff)
downloadmusl-ba18c1ecc6a18203ad8496791154af86f706f632.tar.gz
musl-ba18c1ecc6a18203ad8496791154af86f706f632.tar.bz2
musl-ba18c1ecc6a18203ad8496791154af86f706f632.tar.xz
musl-ba18c1ecc6a18203ad8496791154af86f706f632.zip
add membarrier syscall wrapper, refactor dynamic tls install to use it
the motivation for this change is twofold. first, it gets the fallback logic out of the dynamic linker, improving code readability and organization. second, it provides application code that wants to use the membarrier syscall, which depends on preregistration of intent before the process becomes multithreaded unless unbounded latency is acceptable, with a symbol that, when linked, ensures that this registration happens.
Diffstat (limited to 'include/sys/kd.h')
0 files changed, 0 insertions, 0 deletions