mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-07 03:20:28 +01:00
gallium: Use macro parameter names consistently.
This commit is contained in:
parent
bf6ed0b962
commit
ed7bb2c196
1 changed files with 10 additions and 10 deletions
|
|
@ -134,20 +134,20 @@ static INLINE int pipe_thread_destroy( pipe_thread thread )
|
|||
|
||||
typedef CRITICAL_SECTION pipe_mutex;
|
||||
|
||||
#define pipe_static_mutex(name) \
|
||||
/*static*/ pipe_mutex name = {0,0,0,0,0,0}
|
||||
#define pipe_static_mutex(mutex) \
|
||||
/*static*/ pipe_mutex mutex = {0,0,0,0,0,0}
|
||||
|
||||
#define pipe_mutex_init(name) \
|
||||
InitializeCriticalSection(&name)
|
||||
#define pipe_mutex_init(mutex) \
|
||||
InitializeCriticalSection(&mutex)
|
||||
|
||||
#define pipe_mutex_destroy(name) \
|
||||
DeleteCriticalSection(&name)
|
||||
#define pipe_mutex_destroy(mutex) \
|
||||
DeleteCriticalSection(&mutex)
|
||||
|
||||
#define pipe_mutex_lock(name) \
|
||||
EnterCriticalSection(&name)
|
||||
#define pipe_mutex_lock(mutex) \
|
||||
EnterCriticalSection(&mutex)
|
||||
|
||||
#define pipe_mutex_unlock(name) \
|
||||
LeaveCriticalSection(&name)
|
||||
#define pipe_mutex_unlock(mutex) \
|
||||
LeaveCriticalSection(&mutex)
|
||||
|
||||
/* XXX: dummy definitions, make it compile */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue