• Yoni Fogel's avatar
    Port to OSX. · eb7701b0
    Yoni Fogel authored
    #if defined(__APPLE__)
    static pthread_mutex_t ydb_big_lock = PTHREAD_MUTEX_INITIALIZER;
    #else
    static pthread_mutex_t ydb_big_lock = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP;
    #endif
    
    Unsure if this does the same thing for apple.
    Addresses #280
    
    git-svn-id: file:///svn/tokudb@1696 c7de825b-a66e-492c-adef-691d508d4ae1
    eb7701b0
ydb.c 70.6 KB