Skip to content

Commit

Permalink
Restore exec_thread_yield
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Feb 9, 2024
1 parent d4c1c25 commit 4913199
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/reasoners/relation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ let try_query (type a) (module R : Sig_rel.RELATION with type t = a) env uf a
| None -> k ()

let query env uf a =
Options.exec_thread_yield ();
try_query (module Rel1) env.r1 uf a @@ fun () ->
try_query (module Rel2) env.r2 uf a @@ fun () ->
try_query (module Rel3) env.r3 uf a @@ fun () ->
Expand Down

0 comments on commit 4913199

Please sign in to comment.