aboutsummaryrefslogtreecommitdiff
path: root/db2/os/os_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'db2/os/os_sleep.c')
-rw-r--r--db2/os/os_sleep.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/db2/os/os_sleep.c b/db2/os/os_sleep.c
index 6a5b91f5c4..5aa476352e 100644
--- a/db2/os/os_sleep.c
+++ b/db2/os/os_sleep.c
@@ -8,7 +8,7 @@
#include "config.h"
#ifndef lint
-static const char sccsid[] = "@(#)os_sleep.c 10.10 (Sleepycat) 4/27/98";
+static const char sccsid[] = "@(#)os_sleep.c 10.12 (Sleepycat) 10/12/98";
#endif /* not lint */
#ifndef NO_SYSTEM_INCLUDES
@@ -28,6 +28,7 @@ static const char sccsid[] = "@(#)os_sleep.c 10.10 (Sleepycat) 4/27/98";
#endif
#include "db_int.h"
+#include "os_jump.h"
/*
* __os_sleep --
@@ -45,6 +46,9 @@ __os_sleep(secs, usecs)
for (; usecs >= 1000000; ++secs, usecs -= 1000000)
;
+ if (__db_jump.j_sleep != NULL)
+ return (__db_jump.j_sleep(secs, usecs));
+
/*
* It's important that we yield the processor here so that other
* processes or threads are permitted to run.