Fix locking problem.

svn path=/trunk/; revision=42235
This commit is contained in:
Michael Tüxen 2012-04-25 16:05:29 +00:00
parent 25c3a2b236
commit 0fe7859ca4
1 changed files with 1 additions and 0 deletions

View File

@ -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;