summaryrefslogtreecommitdiff
path: root/src/irmd/api_table.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-22 08:59:59 +0100
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-22 08:59:59 +0100
commit549578caaf16b5bf74e37e1e2f9f3aa5b6d5d568 (patch)
tree657e9c1e65de75f39c6f465d25a7d47d015e2c14 /src/irmd/api_table.c
parent411f2fba77388ba8b2258bcb5380152460f8e8e8 (diff)
downloadouroboros-549578caaf16b5bf74e37e1e2f9f3aa5b6d5d568.tar.gz
ouroboros-549578caaf16b5bf74e37e1e2f9f3aa5b6d5d568.zip
irmd: Fix clock used for timedwait
Diffstat (limited to 'src/irmd/api_table.c')
-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);