fixed bug

This commit is contained in:
ihan-o 2022-12-05 00:01:54 +08:00
parent 1e4ff62730
commit cf6eb4c5a6
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -55,11 +55,12 @@ int kissat_import_clause(void *solver, int *lbd, cvec* c) {
void kissat_wait_sharing(void *solver) {
basekissat* S = (basekissat *) solver;
// printf("c into Light wait %d %d\n", S->x1, S->x2);
// printf("c %d into Light wait\n", S->id);
S->x1 = S->x2 = 0;
sharer *s = S->in_sharer;
{
boost::mutex::scoped_lock lock(s->mtx);
if (s->terminated) return;
s->waitings += 1;
lock.unlock();
// printf("c %d start wait with number %d\n", S->id, s->waitings);