Commit 01030fe1 authored by vtkachenko@intelp4d.mysql.com's avatar vtkachenko@intelp4d.mysql.com

Merge bk-internal:/home/bk/mysql-5.0

into intelp4d.mysql.com:/users/vtkachenko/bk/mysql-5.0
parents 44d76a49 4e67fc63
...@@ -61,8 +61,7 @@ Creates, or rather, initializes an rw-lock object in a specified memory ...@@ -61,8 +61,7 @@ Creates, or rather, initializes an rw-lock object in a specified memory
location (which must be appropriately aligned). The rw-lock is initialized location (which must be appropriately aligned). The rw-lock is initialized
to the non-locked state. Explicit freeing of the rw-lock with rw_lock_free to the non-locked state. Explicit freeing of the rw-lock with rw_lock_free
is necessary only if the memory block containing it is freed. */ is necessary only if the memory block containing it is freed. */
#define rw_lock_create(L) rw_lock_create_func(\ #define rw_lock_create(L) rw_lock_create_func((L), __FILE__, __LINE__, #L)
(L), __FILE__, __LINE__, __STRING(L))
/*=====================*/ /*=====================*/
/********************************************************************** /**********************************************************************
......
...@@ -37,7 +37,7 @@ location (which must be appropriately aligned). The mutex is initialized ...@@ -37,7 +37,7 @@ location (which must be appropriately aligned). The mutex is initialized
in the reset state. Explicit freeing of the mutex with mutex_free is in the reset state. Explicit freeing of the mutex with mutex_free is
necessary only if the memory block containing it is freed. */ necessary only if the memory block containing it is freed. */
#define mutex_create(M) mutex_create_func((M), __FILE__, __LINE__, __STRING(M)) #define mutex_create(M) mutex_create_func((M), __FILE__, __LINE__, #M)
/*===================*/ /*===================*/
/********************************************************************** /**********************************************************************
Creates, or rather, initializes a mutex object in a specified memory Creates, or rather, initializes a mutex object in a specified memory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment