mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0
into fedora.(none):/home/reggie/bk/im_patch
This commit is contained in:
@ -139,13 +139,23 @@ Instance_map::~Instance_map()
|
||||
|
||||
int Instance_map::lock()
|
||||
{
|
||||
#ifdef __WIN__
|
||||
pthread_mutex_lock(&LOCK_instance_map);
|
||||
return 0;
|
||||
#else
|
||||
return pthread_mutex_lock(&LOCK_instance_map);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
int Instance_map::unlock()
|
||||
{
|
||||
#ifdef __WIN__
|
||||
pthread_mutex_unlock(&LOCK_instance_map);
|
||||
return 0;
|
||||
#else
|
||||
return pthread_mutex_unlock(&LOCK_instance_map);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user