reactos/lib/rtl
..
amd64
arm
i386
powerpc
access.c
acl.c
actctx.c
assert.c
atom.c
avlsupp.c
avltable.c
bitmap.c
bootdata.c
byteswap.c
CMakeLists.txt
compress.c
condvar.c
crc32.c
critical.c
dbgbuffer.c
debug.c
dos8dot3.c
encode.c
env.c
error.c
exception.c
generictable.c
handle.c
heap.c Synchronize with trunk r58457. 2013-03-10 01:01:36 +00:00
heap.h
heapdbg.c
heappage.c
heapuser.c
image.c
interlck.c Create a branch for working on csrss and co. 2012-10-14 13:04:31 +00:00
largeint.c
luid.c Create a branch for working on csrss and co. 2012-10-14 13:04:31 +00:00
mem.c
message.c
network.c
nls.c
path.c
ppb.c
priv.c
process.c
propvar.c Create a branch for working on csrss and co. 2012-10-14 13:04:31 +00:00
random.c
rangelist.c
readme.txt
registry.c
res.c
resource.c
rtl.h
rtlavl.h
rtlp.h
sd.c
security.c
sid.c
slist.c
splaytree.c
srw.c Sync with trunk r58033. 2012-12-28 23:37:33 +00:00
thread.c
time.c
timerqueue.c
timezone.c
unicode.c
unicodeprefix.c
vectoreh.c
version.c
wait.c
workitem.c

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.