git.samba.org
/
jelmer
/
wireshark.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c3a2b
)
Fix locking problem.
author
Michael Tüxen
<tuexen@fh-muenster.de>
Wed, 25 Apr 2012 16:05:29 +0000
(16:05 -0000)
committer
Michael Tüxen
<tuexen@fh-muenster.de>
Wed, 25 Apr 2012 16:05:29 +0000
(16:05 -0000)
svn path=/trunk/; revision=42235
dumpcap.c
patch
|
blob
|
history
diff --git
a/dumpcap.c
b/dumpcap.c
index f05b54ac3bc1348633bc22c7070e72f3ee330b4f..76678d98ad46aff07e660afcda11dce4c0d31824 100644
(file)
--- a/
dumpcap.c
+++ b/
dumpcap.c
@@
-3369,6
+3369,7
@@
capture_loop_start(capture_options *capture_opts, gboolean *stats_known, struct
pcap_queue_element *queue_element;
#if GLIB_CHECK_VERSION(2,31,18)
+ g_async_queue_lock(pcap_queue);
queue_element = g_async_queue_timeout_pop_unlocked(pcap_queue, WRITER_THREAD_TIMEOUT);
#else
GTimeVal write_thread_time;