.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@5251 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-08-04 10:10:51 +00:00
parent 8833079af7
commit cdb9d69d4e

View file

@ -44,7 +44,7 @@ void Heap::Init()
void Heap::RemoteFree(void *ptr)
{
LLOG("RemoteFree " << ptr);
Mutex::Lock __(mutex);
Mutex::Lock __(mutex); // TODO: Go lockless!
FreeLink *f = (FreeLink *)ptr;
f->next = remote_free;
remote_free = f;
@ -63,7 +63,7 @@ void Heap::FreeRemoteRaw()
void Heap::FreeRemote()
{
LLOG("FreeRemote");
Mutex::Lock __(mutex);
Mutex::Lock __(mutex); // TODO: Go lockless!
FreeRemoteRaw();
}