[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix deadlock when accessing IO memory.
# HG changeset patch # User Steven Hand <steven@xxxxxxxxxxxxx> # Node ID 7fdf6e0f12dbb80eac55532cc90be4246bb2c771 # Parent 79315be2c9b9d6c2ed06669ed733a21b22611b99 Fix deadlock when accessing IO memory. Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx> --- tools/ioemu/target-i386-dm/exec-dm.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 79315be2c9b9 -r 7fdf6e0f12db tools/ioemu/target-i386-dm/exec-dm.c --- a/tools/ioemu/target-i386-dm/exec-dm.c Thu Dec 14 12:21:28 2006 +0000 +++ b/tools/ioemu/target-i386-dm/exec-dm.c Thu Dec 14 12:35:23 2006 +0000 @@ -441,7 +441,7 @@ void cpu_physical_memory_rw(target_phys_ uint32_t val; #if defined(__i386__) || defined(__x86_64__) - static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; + static pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; pthread_mutex_lock(&mutex); #endif _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |