Changeset 125 in libcf for trunk/src/cf_debug.c


Ignore:
Timestamp:
06/12/13 13:44:25 (11 years ago)
Author:
cheese
Message:

#1 fix mutex bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_debug.c

    r124 r125  
    391391    ASSERT_CTX (ctx);
    392392
    393     CF_Mutex_Lock (&ctx->mutex);
     393    CF_Mutex_Lock (ctx->mutex);
    394394    CF_Debug_CallStackPush (gDebugSingleCtx, file, func, line);
    395     CF_Mutex_Unlock (&ctx->mutex);
     395    CF_Mutex_Unlock (ctx->mutex);
    396396
    397397    return CF_OK;
     
    412412    ASSERT_CTX (ctx);
    413413
    414     CF_Mutex_Lock (&ctx->mutex);
     414    CF_Mutex_Lock (ctx->mutex);
    415415    CF_Debug_CallStackPop (gDebugSingleCtx, NULL);
    416     CF_Mutex_Unlock (&ctx->mutex);
     416    CF_Mutex_Unlock (ctx->mutex);
    417417
    418418    return CF_OK;
Note: See TracChangeset for help on using the changeset viewer.