https://bugs.documentfoundation.org/show_bug.cgi?id=100085
jan iversen <j...@documentfoundation.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |difficultyBeginner,
| |easyHack, skillCpp
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from jan iversen <j...@documentfoundation.org> ---
(In reply to Stephan Bergmann from comment #1)
> "the function" presumably referring to osl::Thread::wait
> (include/osl/thread.hxx)
Yes, see original bug also.
> > Remark, the wait function in SAL should have a default value of 100 msec,
> > allowing it to be used for context switching.
>
> ???
Not all OS are as good as Linux, on e.g. Android and IOS the old function
"pthread_yield" is still needed, the implementation is normally a simple wait.
In many program parts, there are no definition of how long to wait, so setting
a default value saves us from having a lot of different times (of course with
the exception where a specific time is needed).
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs