summaryrefslogtreecommitdiff
path: root/oryxc
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-15 23:08:46 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-15 23:08:46 +0100
commit9b3f5dc2deb42f5431e0ded5b590847564040264 (patch)
tree8e6951edfe724a1e822a3ffdb7638f068cc7d450 /oryxc
parent2a224be8bbd2c4c70c8b192132977e43aee69f4d (diff)
Use a LIFO work queue
Diffstat (limited to 'oryxc')
-rw-r--r--oryxc/src/compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/oryxc/src/compiler.rs b/oryxc/src/compiler.rs
index 123475e..8ad00fb 100644
--- a/oryxc/src/compiler.rs
+++ b/oryxc/src/compiler.rs
@@ -233,7 +233,7 @@ where
let mut workers = Box::new_uninit_slice(flags.threads);
let mut stealers = Box::new_uninit_slice(flags.threads);
for i in 0..flags.threads {
- let w = Worker::new_fifo();
+ let w = Worker::new_lifo();
stealers[i].write(w.stealer());
workers[i].write(w);
}