summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-05-22 23:55:27 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-05-22 23:55:27 +0000
commit0296a9d20969ee9a7fd090c4cbb7b421bdbd4d8d (patch)
treec6c6aab470e1974bb0764202717702fc7b71301c /threadproc
parent799affbed15727bfd7a69595e88f4f05bb954117 (diff)
downloadlibapr-0296a9d20969ee9a7fd090c4cbb7b421bdbd4d8d.tar.gz
Implement apr_thread_yield() on OS/2.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/os2/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/threadproc/os2/thread.c b/threadproc/os2/thread.c
index 808b9938b..b0e1fe086 100644
--- a/threadproc/os2/thread.c
+++ b/threadproc/os2/thread.c
@@ -192,6 +192,7 @@ APR_DECLARE(apr_status_t) apr_thread_detach(apr_thread_t *thd)
void apr_thread_yield()
{
+ DosSleep(0);
}