mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
KeSetAffinityThread stub added (returns STATUS_SUCCESS and thus VMWare network driver won't crash ReactOS)
svn path=/trunk/; revision=4579
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: thread.c,v 1.108 2003/04/10 23:14:47 hyperion Exp $
|
||||
/* $Id: thread.c,v 1.109 2003/04/25 18:37:44 fireball Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -504,6 +504,17 @@ KeSetPriorityThread (PKTHREAD Thread, KPRIORITY Priority)
|
||||
return(OldPriority);
|
||||
}
|
||||
|
||||
NTSTATUS STDCALL
|
||||
KeSetAffinityThread(PKTHREAD Thread,
|
||||
PVOID AfMask)
|
||||
/*
|
||||
* Sets thread's affinity
|
||||
*/
|
||||
{
|
||||
return STATUS_SUCCESS; // FIXME: Use function below
|
||||
//return ZwSetInformationThread(handle, ThreadAffinityMask,<pointer to affinity mask>,sizeof(KAFFINITY));
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS STDCALL
|
||||
NtAlertResumeThread(IN HANDLE ThreadHandle,
|
||||
|
||||
Reference in New Issue
Block a user