mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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:
parent
79c386dcf3
commit
143395e386
1 changed files with 12 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue