about summary refs log tree commit diff
path: root/src/rt/sync
diff options
context:
space:
mode:
authorMichael Bebenita <mbebenita@mozilla.com>2010-09-15 11:56:45 -0700
committerMichael Bebenita <mbebenita@mozilla.com>2010-09-16 00:51:03 -0700
commit1bd331b7aaa24245f86868305ab64600683a41e1 (patch)
tree1b088c433bc95ee416eefe502b0dca866b5dead6 /src/rt/sync
parent91b4a0c9f8ba7be56fc098ffc6182a888e3970bf (diff)
Fixed deadlock caused by the message pump not being notified of new message sends.
Diffstat (limited to 'src/rt/sync')
-rw-r--r--src/rt/sync/lock_free_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/sync/lock_free_queue.h b/src/rt/sync/lock_free_queue.h
index ac0c5b046a0..1c760bff9d4 100644
--- a/src/rt/sync/lock_free_queue.h
+++ b/src/rt/sync/lock_free_queue.h
@@ -120,7 +120,7 @@ public:
         return head.node == tail.node;
     }
 
-    void enqueue(T value) {
+    virtual void enqueue(T value) {
 
         // Create a new node to be inserted in the linked list, and set the
         // next node to NULL.