Replace all queues with MPSCQueue where possible

This commit is contained in:
gingerBill
2023-01-12 13:11:17 +00:00
parent b470ceb470
commit cbe3791b42
5 changed files with 26 additions and 20 deletions
+1 -1
View File
@@ -1010,7 +1010,7 @@ gb_internal void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) {
if (ac.deferred_procedure.entity != nullptr) {
e->Procedure.deferred_procedure = ac.deferred_procedure;
mpmc_enqueue(&ctx->checker->procs_with_deferred_to_check, e);
mpsc_enqueue(&ctx->checker->procs_with_deferred_to_check, e);
}
if (is_foreign) {