mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:53:36 +00:00
After enabling regular kmode APC's I have experienced random crashes.
I'm disabling it again, until we fix the APC implementation... svn path=/trunk/; revision=6827
This commit is contained in:
parent
31c9e79de0
commit
d6b77edb3c
1 changed files with 7 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: kthread.c,v 1.43 2003/11/27 01:02:23 gdalsnes Exp $
|
/* $Id: kthread.c,v 1.44 2003/11/30 19:00:02 gdalsnes Exp $
|
||||||
*
|
*
|
||||||
* FILE: ntoskrnl/ke/kthread.c
|
* FILE: ntoskrnl/ke/kthread.c
|
||||||
* PURPOSE: Microkernel thread support
|
* PURPOSE: Microkernel thread support
|
||||||
|
@ -191,9 +191,14 @@ until the thread has been fully created, BUT the problem is: they are
|
||||||
currently never enabled again! So until somone figures out how
|
currently never enabled again! So until somone figures out how
|
||||||
this really work, I'm setting regular kmode APC's intially enabled.
|
this really work, I'm setting regular kmode APC's intially enabled.
|
||||||
-Gunnar
|
-Gunnar
|
||||||
|
|
||||||
|
UPDATE: After enabling regular kmode APC's I have experienced random
|
||||||
|
crashes. I'm disabling it again, until we fix the APC implementation...
|
||||||
|
-Gunnar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Thread->KernelApcDisable = 0;
|
Thread->KernelApcDisable = -1;
|
||||||
|
|
||||||
|
|
||||||
Thread->UserAffinity = Process->Affinity;
|
Thread->UserAffinity = Process->Affinity;
|
||||||
Thread->SystemAffinityActive = 0;
|
Thread->SystemAffinityActive = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue