diff options
| author | Michael Bebenita <[email protected]> | 2010-09-15 11:56:45 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-09-16 00:51:03 -0700 |
| commit | 1bd331b7aaa24245f86868305ab64600683a41e1 (patch) | |
| tree | 1b088c433bc95ee416eefe502b0dca866b5dead6 /src/rt/sync | |
| parent | Add beginnings of a fuzzer to rustboot. (diff) | |
| download | rust-1bd331b7aaa24245f86868305ab64600683a41e1.tar.xz rust-1bd331b7aaa24245f86868305ab64600683a41e1.zip | |
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.h | 2 |
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 ac0c5b04..1c760bff 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. |