[fpc-devel] waitformultipleobjects
Marco van de Voort
fpc at pascalprogramming.org
Wed Sep 27 13:18:36 CEST 2023
..... from Linux :dances:
from https://www.theregister.com/2023/09/27/osseu_steam_os_3/
Wherever possible, WINE converts Windows API calls to Linux ones, but
sometimes, there is no matching Linux API. If there isn't, García said,
/"Wine needs to implement the missing parts. This can result in
overhead, and it's not always easily solvable in userspace. Solution:
new Linux features to fill in the missing gaps."/
One recent example is the new |futex_waitv()|
<https://docs.kernel.org/userspace-api/futex2.html> call in kernel 5.16,
which brings a new API to Linux that's like Win32's
|WaitForMultipleObjects()|
<https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitformultipleobjects>
call, as this Collabora blog post
<https://www.collabora.com/news-and-blog/blog/2023/02/17/the-futex-waitv-syscall-gaming-on-linux/>
explains in depth. Another patch
<https://lore.kernel.org/all/20190719000322.106163-3-drosen@google.com/>
brings /optional/ case-insensitivity <https://lwn.net/Articles/784041/>
to the F2FS, the Flash-friendly file system
<https://docs.kernel.org/filesystems/f2fs.html>. As another example,
Valve and its partners are also working on more reliable user-space
spinlocks <https://lwn.net/Articles/931789/>.
More information about the fpc-devel
mailing list