mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@5251 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8833079af7
commit
cdb9d69d4e
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue