summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-22 09:39:55 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-22 09:39:55 +0000
commit9507a37066a45be1db6a7755edadc28d43ac5c79 (patch)
tree657e9c1e65de75f39c6f465d25a7d47d015e2c14 /src/irmd
parent411f2fba77388ba8b2258bcb5380152460f8e8e8 (diff)
parent549578caaf16b5bf74e37e1e2f9f3aa5b6d5d568 (diff)
downloadouroboros-9507a37066a45be1db6a7755edadc28d43ac5c79.tar.gz
ouroboros-9507a37066a45be1db6a7755edadc28d43ac5c79.zip
Merged in dstaesse/ouroboros/be-irmd-clock (pull request #411)
irmd: Fix clock used for timedwait
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/api_table.c2
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);