[Libreoffice-commits] core.git: include/osl

Chris Sherlock chris.sherlock79 at gmail.com
Sat Aug 26 15:41:39 UTC 2017


 include/osl/thread.h |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 1ab6d39146b6ff0a633ae0821e2db5705d3ad6c3
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sun Aug 27 01:36:41 2017 +1000

    osl: clarify osl_scheduleThread() documentation
    
    Change-Id: If9990acd06f5395c07d44fc462292ccae795abe1

diff --git a/include/osl/thread.h b/include/osl/thread.h
index 0a7951a4441d..4025f608693c 100644
--- a/include/osl/thread.h
+++ b/include/osl/thread.h
@@ -164,11 +164,13 @@ SAL_DLLPUBLIC void SAL_CALL osl_waitThread(const TimeValue* pDelay);
 */
 SAL_DLLPUBLIC void SAL_CALL osl_terminateThread(oslThread Thread);
 
-/** Offers the rest of the threads time-slice to the OS.
-    scheduleThread() should be called in the working loop
+/** Schedules in thread to wait till after time slice of specified
+    thread. scheduleThread() should be called in the working loop
     of the thread, so any other thread could also get the
     processor. Returns False if the thread should terminate, so
     the thread could free any allocated resources.
+
+    @param Thread       Handle to thread to schedule in after
 */
 SAL_DLLPUBLIC sal_Bool SAL_CALL osl_scheduleThread(oslThread Thread);
 


More information about the Libreoffice-commits mailing list