give RageMutexes names, so they can be identified more easily

This commit is contained in:
Glenn Maynard
2004-03-21 04:10:43 +00:00
parent 527be89140
commit e779e80350
9 changed files with 15 additions and 11 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
struct tm *my_localtime_r( const time_t *timep, struct tm *result )
{
static RageMutex mut;
static RageMutex mut("my_localtime_r");
LockMut(mut);
*result = *localtime( timep );
@@ -14,7 +14,7 @@ struct tm *my_localtime_r( const time_t *timep, struct tm *result )
struct tm *my_gmtime_r( const time_t *timep, struct tm *result )
{
static RageMutex mut;
static RageMutex mut("my_gmtime_r");
LockMut(mut);
*result = *gmtime( timep );