projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
113f129
)
- libs/ezsat/ezminisat.cc: use sigemptyset() to clear sig_action.sa_mask; use SA_RES...
author
Siesh1oo
<siesh1oo@siesh1oo.no>
Mon, 10 Mar 2014 19:23:55 +0000
(20:23 +0100)
committer
Siesh1oo
<siesh1oo@siesh1oo.no>
Mon, 10 Mar 2014 19:23:55 +0000
(20:23 +0100)
libs/ezsat/ezminisat.cc
patch
|
blob
|
history
diff --git
a/libs/ezsat/ezminisat.cc
b/libs/ezsat/ezminisat.cc
index 92f56b00ab7a8be9c874e8758c68db6942eb7ab1..4677f68bd77801dfa55e5a66d6fef64ba4db435b 100644
(file)
--- a/
libs/ezsat/ezminisat.cc
+++ b/
libs/ezsat/ezminisat.cc
@@
-176,8
+176,8
@@
contradiction:
if (solverTimeout > 0) {
sig_action.sa_handler = alarmHandler;
- sig
_action.sa_mask = 0
;
- sig_action.sa_flags =
0
;
+ sig
emptyset(&sig_action.sa_mask)
;
+ sig_action.sa_flags =
SA_RESTART
;
alarmHandlerThis = this;
alarmHandlerTimeout = clock() + solverTimeout*CLOCKS_PER_SEC;
old_alarm_timeout = alarm(0);