diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-22 09:39:55 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-22 09:39:55 +0000 |
commit | 9507a37066a45be1db6a7755edadc28d43ac5c79 (patch) | |
tree | 657e9c1e65de75f39c6f465d25a7d47d015e2c14 | |
parent | 411f2fba77388ba8b2258bcb5380152460f8e8e8 (diff) | |
parent | 549578caaf16b5bf74e37e1e2f9f3aa5b6d5d568 (diff) | |
download | ouroboros-9507a37066a45be1db6a7755edadc28d43ac5c79.tar.gz ouroboros-9507a37066a45be1db6a7755edadc28d43ac5c79.zip |
Merged in dstaesse/ouroboros/be-irmd-clock (pull request #411)
irmd: Fix clock used for timedwait
-rw-r--r-- | src/irmd/api_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/api_table.c b/src/irmd/api_table.c index 3b80ac91..1c655004 100644 --- a/src/irmd/api_table.c +++ b/src/irmd/api_table.c @@ -167,7 +167,7 @@ int api_entry_sleep(struct api_entry * e) e->re = NULL; - clock_gettime(CLOCK_REALTIME, &now); + clock_gettime(PTHREAD_COND_CLOCK, &now); ts_add(&now, &timeout, &dl); |