diff options
author | Riku Voipio <riku.voipio@nokia.com> | 2009-12-04 15:16:31 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-19 19:45:27 +0100 |
commit | d032d1b4b4bc29cb44592ee207bd8ae7cd4da668 (patch) | |
tree | 3b20bf8ee99edc01a4a109d503dbe9dfa6a7d30c /posix-aio-compat.c | |
parent | f76cfe56d9bc281685c5120bf765d29d9323756f (diff) |
linux-user: Fix mmap_lock ordering
mmap_lock() can be called while tb_lock() is being held. To
avoid deadlock when one thread is holding mmap_lock and another
tb_lock, _always_ lock first tb_lock().
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'posix-aio-compat.c')
0 files changed, 0 insertions, 0 deletions