Darling's userspace kernel server (much like Wine's wineserver)
Go to file
Ariel Abreu 35811342c4
kqchan: Check for events after sending messages
XNU's kevent filter code returns FILTER_ACTIVE when there are events still available after a filter call. This tells kevent to check for more events at its discretion. Thus, to mimic this behavior, whenever we send a message, we check for more events afterwards.

Note that we only do this once the message has been fully sent. For reasons that are still unclear, checking immediately after queueing the message and queueing a new notification message as a result of this check messes up the order of the messages that our peer sees.
2022-02-25 16:52:48 -05:00
duct-tape Implement psynch using pthread kext 2022-02-23 00:55:03 -05:00
include/darlingserver Implement remote mmap/munmap + various fixes 2022-02-17 19:12:44 -05:00
internal-include/darlingserver kqchan: Check for events after sending messages 2022-02-25 16:52:48 -05:00
scripts Implement psynch using pthread kext 2022-02-23 00:55:03 -05:00
src kqchan: Check for events after sending messages 2022-02-25 16:52:48 -05:00
.gitignore Many additions + stubs; basic kernel MIG RPC working 2022-01-20 00:11:51 -05:00
CMakeLists.txt Implement remote mmap/munmap + various fixes 2022-02-17 19:12:44 -05:00