aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/trace.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2018-06-04 16:52:10 -0700
committerGitHub <[email protected]>2018-06-04 16:52:10 -0700
commit2d9142c9d4c9db4edcef4777fecfafa4832610cb (patch)
tree8096ca173efcec1079ea4fbdc4418ca1e9c8c222 /include/sys/trace.h
parente48afbc4ebc64712f56220b65ed12c536ef0e114 (diff)
Remove rwlock wrappers
The only remaining consumer of the rwlock compatibility wrappers is ztest. Remove the wrappers and convert the few remaining calls to the underlying pthread functions. rwlock_init() -> pthread_rwlock_init() rwlock_destroy() -> pthread_rwlock_destroy() rw_rdlock() -> pthread_rwlock_rdlock() rw_wrlock() -> pthread_rwlock_wrlock() rw_unlock() -> pthread_rwlock_unlock() Note pthread_rwlock_init() defaults to PTHREAD_PROCESS_PRIVATE which is equivilant to the USYNC_THREAD behavior. There is no functional change. Reviewed-by: Olaf Faaland <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #7591
Diffstat (limited to 'include/sys/trace.h')
0 files changed, 0 insertions, 0 deletions