mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Replaces $ variable name with lock
Warns at level 4, seemed nicer to follow spscqueue.h
This commit is contained in:
@@ -29,7 +29,7 @@ namespace bx
|
||||
|
||||
void push(Ty* _ptr) // producer only
|
||||
{
|
||||
LwMutexScope $(m_write);
|
||||
LwMutexScope lock(m_write);
|
||||
m_queue.push(_ptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user