Files
reactos/lib/rtl
Jérôme Gardou 7bb96de441 One leftover from sync
svn path=/branches/reactos-yarotows/; revision=48247
2010-07-25 11:19:21 +00:00
..
2010-07-20 20:09:43 +00:00
2010-06-10 20:57:03 +00:00
2010-07-25 11:17:52 +00:00
2010-07-25 11:17:52 +00:00
2010-07-13 17:46:03 +00:00
2010-07-13 17:46:03 +00:00
2010-07-25 11:17:52 +00:00
2010-07-13 17:46:03 +00:00
2010-06-10 20:57:03 +00:00
2010-03-19 21:09:21 +00:00
2010-07-13 17:46:03 +00:00
2010-06-10 20:57:03 +00:00
2010-07-13 17:46:03 +00:00
2010-04-01 02:52:00 +00:00
2010-07-25 11:17:52 +00:00
2010-07-25 11:17:52 +00:00
2010-04-18 14:06:07 +00:00
2010-04-18 14:06:07 +00:00

RTL restrictions:

ExAllocatePool (and friends) must be used exclusively. RtlAllocateHeap (and friends) must NOT be used! ExAllocatePool (and friends) translate to RtlAllocateHeap (and friends) in ntdll\rtl\libsupp.c.

RtlEnterCriticalSection (and friends) must be used exclusively. ExAcquireFastMutex (and friends) must NOT be used! RtlEnterCriticalSection (and friends) translate to ExAcquireFastMutex (and friends) in ntoskrnl\rtl\libsupp.c. This means that RtlEnterCriticalSection (and friends) can NOT be used recursively in RTL. The reason for choosing RtlEnterCriticalSection (and friends) over ExAcquireFastMutex (and friends) is that the FAST_MUTEX struct is smaller than the RTL_CRITICAL_SECTION struct.