HomeSort by relevance Sort by last modified time
    Searched full:g_mutex_ (Results 1 - 1 of 1) sorted by null

  /packages/inputmethods/PinyinIME/jni/share/
userdict.cpp 58 // XXX File load and write are thread-safe by g_mutex_
59 static pthread_mutex_t g_mutex_ = PTHREAD_MUTEX_INITIALIZER; member in namespace:ime_pinyin
295 pthread_mutex_lock(&g_mutex_);
302 pthread_mutex_unlock(&g_mutex_);
516 if (0 == pthread_mutex_trylock(&g_mutex_)) {
521 pthread_mutex_unlock(&g_mutex_);
524 pthread_mutex_unlock(&g_mutex_);
1086 if (0 != pthread_mutex_trylock(&g_mutex_)) {
1093 pthread_mutex_unlock(&g_mutex_);
1217 pthread_mutex_unlock(&g_mutex_);
    [all...]

Completed in 45 milliseconds