mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 02:40:41 -04:00
Correct mpsc_dequeue
This commit is contained in:
1 parent
c15db05199
commit
b470ceb470
7 files changed
+37
-33
No files matched your search
+1
-1
@@ -1124,7 +1124,7 @@ gb_internal void check_global_variable_decl(CheckerContext *ctx, Entity *&e, Ast
|
||||
|
||||
if (ac.require_declaration) {
|
||||
e->flags |= EntityFlag_Require;
|
||||
mpmc_enqueue(&ctx->info->required_global_variable_queue, e);
|
||||
mpsc_enqueue(&ctx->info->required_global_variable_queue, e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user