Alex
2004-02-11 17:43:26 UTC
What is difference between using KeEnterCriticalRegion and raising IRQL to
APC_LEVEL? As I know, KeEnterCriticalRegion disables only normal kernel apc
but raising to APC_LEVEL disables a special kernel apc too. Is it true?
But I doubt about what type of apc disabling mechanism I should use in
various cases. In what case I should simply call to KeEnterCriticalRegion
and in what case I should raise to APC_LEVEL? In other words, when I must
raise IRQL to APC_LEVEL instead of call to KeEnterCriticalRegion to prevent
possibly deadlocks?
Tanks for assistance.
APC_LEVEL? As I know, KeEnterCriticalRegion disables only normal kernel apc
but raising to APC_LEVEL disables a special kernel apc too. Is it true?
But I doubt about what type of apc disabling mechanism I should use in
various cases. In what case I should simply call to KeEnterCriticalRegion
and in what case I should raise to APC_LEVEL? In other words, when I must
raise IRQL to APC_LEVEL instead of call to KeEnterCriticalRegion to prevent
possibly deadlocks?
Tanks for assistance.