A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Alex Ionescu 4c1eb86320 - Completely reimplement NtWaitForMultipleObjects:
- Check for invalid Objectcount and wait type
    - Don't use 2.6KB of stack space (kernel threads only get 4...)
    - Don't call ObReferenceObjectByHandle since it does a lot of superflous checks, continous locking/unlocking and makes us extremly slow for a large wait and also doesn't give us the full flexibility we need.
    - Detect if a Waitall is being done with the same object duplicated.
    - Protect wait with SEH.
- General fixes for all NtWaitXXX:
    - Use DefaultObject from Object Header and remove all previous associated hacks, including the IO_TYPE hack. The DefaultObject will either be NULL, an offset to an internal Object Event, or a pointer to a default event. We handle all three.
    - Guard the KeWaitXXX call with SEH since it can raise exceptions.
- Fix all object type intiailizers regarding DefaultObject.

svn path=/trunk/; revision=17179
2005-08-07 21:29:51 +00:00
cis Locate latest revision ISO 2005-08-02 16:13:02 +00:00
irc Some new features like Login, Config.h and Idle message 2005-06-03 17:28:53 +00:00
msvc6
os2 To do once more a little piece os2ss 2005-03-16 23:51:26 +00:00
posix Refresh RC script for PSX bare sh. 2005-03-08 22:41:27 +00:00
reactos - Completely reimplement NtWaitForMultipleObjects: 2005-08-07 21:29:51 +00:00
rosapps A simple test app for DirectDraw. 2005-08-07 10:13:46 +00:00
rosky Move ROSKY to a separate SVN module. 2005-06-30 12:19:21 +00:00
vms Move VMS subtree in the proper place. 2005-05-02 14:15:56 +00:00