Added silc_thread_yield.
[runtime.git] / lib / silcutil / silcthread.h
index b13e31ba655a7a67d0a530a22e23a52f8395accf..c6429a9b63740c39791d0b5f29a17c0f41718664 100644 (file)
@@ -144,4 +144,18 @@ SilcThread silc_thread_self(void);
  ***/
 SilcBool silc_thread_wait(SilcThread thread, void **exit_value);
 
+/****f* silcutil/SilcThreadAPI/silc_thread_yield
+ *
+ * SYNOPSIS
+ *
+ *    void silc_thread_yield(void);
+ *
+ * DESCRIPTION
+ *
+ *    Yield the processor.  The calling thread will yield the processor and
+ *    give execution time for other threads, until its turn comes up again.
+ *
+ ***/
+void silc_thread_yield(void);
+
 #endif