diff options
author | gonzo <gonzo@FreeBSD.org> | 2015-11-08 03:53:31 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2015-11-08 03:53:31 +0000 |
commit | c217a91774941f152866c81cb7e1bf0b7e4f4214 (patch) | |
tree | 1a0bea30d6bd0d1b4a108de9973226d409e53999 /tools/regression/lib/libc/stdlib | |
parent | 02085030b3a160f5ae928a2a25c95847e2fa4c27 (diff) | |
download | FreeBSD-src-c217a91774941f152866c81cb7e1bf0b7e4f4214.zip FreeBSD-src-c217a91774941f152866c81cb7e1bf0b7e4f4214.tar.gz |
Fix locking for VCHI driver by matching sleepable/non-sleepable APIs:
- Emulate Linux mutex API using sx(9) locks with only exclusive operations
instead of mutex(9), in Linux mutexes are sleepable.
- Emulate Linux rwlock_t using rwlock(9) instead of sx(9). rwlock_t
in Linux are spin locks
Diffstat (limited to 'tools/regression/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions