Author: fireball Date: Mon Mar 29 10:51:12 2010 New Revision: 46563
URL: http://svn.reactos.org/svn/reactos?rev=46563&view=rev Log: [NTOSKRNL] . Revert 46550: Windows does not set this flag. ReactOS shouldn't either. Setting UserEvent is already enough in this case.
Modified: trunk/reactos/ntoskrnl/io/iomgr/irp.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/irp.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/irp.c?rev... ============================================================================== --- trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] Mon Mar 29 10:51:12 2010 @@ -966,11 +966,8 @@ IoStatusBlock ); if (!Irp) return NULL;
- /* Associate the caller's event object with this IRP */ + /* Set the Event which makes it Syncronous */ Irp->UserEvent = Event; - - /* Set the synchronous flag */ - Irp->Flags |= IRP_SYNCHRONOUS_API;
/* Sync IRPs are queued to requestor thread's irp cancel/cleanup list */ IoQueueThreadIrp(Irp);