Remove remaining mention of queued_mtx
authorTim Pepper <timothy.c.pepper@linux.intel.com>
Thu, 4 Oct 2012 22:19:08 +0000 (15:19 -0700)
committerTim Pepper <timothy.c.pepper@linux.intel.com>
Thu, 4 Oct 2012 22:19:08 +0000 (15:19 -0700)
This mutex has been removed.  bt_mtx covers src/submit.c's state now
instead of a mix of queued_mtx and queued_bt_mtx covering a mix of global
state and submit.c state.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
src/corewatcher.h
src/submit.c

index a503d2a..740cc45 100644 (file)
@@ -53,10 +53,8 @@ struct oops {
        char *detail_filename;
 };
 
-/* Always pick up the queued_mtx and then the
-   processing_mtx, reverse for setting down */
 /* Considering the static mutexes the total global order should be:
-   queued_mtx -> processing_mtx -> gdb_mtx ->processing_queue_mtx */
+       processing_mtx -> gdb_mtx ->processing_queue_mtx */
 struct core_status {
        GHashTable *processing_oops;
        GMutex processing_mtx;
index 5b11264..254a2c8 100644 (file)
@@ -37,8 +37,6 @@
 
 #include "corewatcher.h"
 
-/* Always pick up the queued_mtx and then the
-   queued_bt_mtx, reverse for setting down */
 GMutex bt_mtx;
 GCond bt_work;
 GHashTable *bt_hash;