mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
to fix that timeout of 0 has different interpretations across platforms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
cbf470422e
commit
c6683fd6fa
|
@ -129,7 +129,7 @@ struct scoped_timer::imp {
|
|||
WT_EXECUTEINTIMERTHREAD);
|
||||
#elif defined(__APPLE__) && defined(__MACH__)
|
||||
// Mac OS X
|
||||
m_interval = ms;
|
||||
m_interval = ms?ms:0xFFFFFFFF;
|
||||
if (pthread_attr_init(&m_attributes) != 0)
|
||||
throw default_exception("failed to initialize timer thread attributes");
|
||||
if (pthread_cond_init(&m_condition_var, NULL) != 0)
|
||||
|
|
Loading…
Reference in a new issue