diff options
Diffstat (limited to 'src/thread_win.c')
| -rw-r--r-- | src/thread_win.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread_win.c b/src/thread_win.c index 92a5bb4..3b78f46 100644 --- a/src/thread_win.c +++ b/src/thread_win.c @@ -79,6 +79,12 @@ bh_thread_t *bh_thread_new_base(bh_task_t *task, return result; } +int bh_thread_sleep(unsigned long timeout) +{ + Sleep(timeout); + return BH_OK; +} + int bh_thread_join(bh_thread_t *thread) { /* Join the thread */ |
