Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SAT4J
sat4j
Commits
c7e21270
Commit
c7e21270
authored
Sep 25, 2018
by
Daniel Le Berre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
synchronizing both access to the timer object. Thanks Romain.
parent
b430d191
Pipeline
#2949
passed with stages
in 40 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
org.sat4j.core/src/main/java/org/sat4j/minisat/core/Solver.java
...t4j.core/src/main/java/org/sat4j/minisat/core/Solver.java
+7
-3
No files found.
org.sat4j.core/src/main/java/org/sat4j/minisat/core/Solver.java
View file @
c7e21270
...
@@ -1830,9 +1830,13 @@ public class Solver<D extends DataStructureFactory>
...
@@ -1830,9 +1830,13 @@ public class Solver<D extends DataStructureFactory>
cancelUntil
(
0
);
cancelUntil
(
0
);
cancelLearntLiterals
(
learnedLiteralsLimit
);
cancelLearntLiterals
(
learnedLiteralsLimit
);
if
(!
global
&&
this
.
timeBasedTimeout
&&
this
.
timer
!=
null
)
{
if
(!
global
&&
this
.
timeBasedTimeout
)
{
this
.
timer
.
cancel
();
synchronized
(
this
)
{
this
.
timer
=
null
;
if
(
this
.
timer
!=
null
)
{
this
.
timer
.
cancel
();
this
.
timer
=
null
;
}
}
}
}
this
.
slistener
.
end
(
status
);
this
.
slistener
.
end
(
status
);
if
(!
this
.
undertimeout
)
{
if
(!
this
.
undertimeout
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment