fixed bug
This commit is contained in:
parent
1e4ff62730
commit
cf6eb4c5a6
BIN
light-v3--1
BIN
light-v3--1
Binary file not shown.
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user