Home
last modified time | relevance | path

Searched refs:tcmyfatal (Results 1 – 9 of 9) sorted by relevance

/dports/databases/tokyocabinet/tokyocabinet-1.4.48/
H A Dtcutil.h3736 void *tcmyfatal(const char *message);
3954 if(!((TC_res) = MYMALLOC(TC_size))) tcmyfatal("out of memory"); \
3968 if(!((TC_res) = MYCALLOC((TC_nmemb), (TC_size)))) tcmyfatal("out of memory"); \
3982 if(!((TC_res) = MYREALLOC((TC_ptr), (TC_size)))) tcmyfatal("out of memory"); \
H A Dtcutil.c3689 if(pthread_mutex_init(mdb->imtx, NULL) != 0) tcmyfatal("mutex error"); in tcmdbnew2()
3692 tcmyfatal("rwlock error"); in tcmdbnew2()
4149 if(pthread_mutex_init(ndb->mmtx, NULL) != 0) tcmyfatal("mutex error"); in tcndbnew2()
4518 if(pthread_mutex_init(mpool->mutex, NULL) != 0) tcmyfatal("locking failed"); in tcmpoolnew()
4544 if(pthread_mutex_lock(mpool->mutex) != 0) tcmyfatal("locking failed"); in tcmpoolpush()
4642 if(pthread_mutex_lock(mpool->mutex) != 0) tcmyfatal("locking failed"); in tcmpoolpop()
4655 if(pthread_mutex_lock(mpool->mutex) != 0) tcmyfatal("locking failed"); in tcmpoolclear()
9569 void *tcmyfatal(const char *message){ in tcmyfatal() function
9587 if(ptr == MAP_FAILED) tcmyfatal("out of memory"); in tczeromap()
10076 if(pthread_rwlock_init(&tcglobalmutex, NULL) != 0) tcmyfatal("rwlock error"); in tcglobalinit()
[all …]
/dports/databases/tokyotyrant/tokyotyrant-1.1.41/
H A Dttutil.c865 if(pthread_mutex_init(&serv->qmtx, NULL) != 0) tcmyfatal("pthread_mutex_init failed"); in ttservnew()
866 if(pthread_cond_init(&serv->qcnd, NULL) != 0) tcmyfatal("pthread_cond_init failed"); in ttservnew()
867 if(pthread_mutex_init(&serv->tmtx, NULL) != 0) tcmyfatal("pthread_mutex_init failed"); in ttservnew()
868 if(pthread_cond_init(&serv->tcnd, NULL) != 0) tcmyfatal("pthread_cond_init failed"); in ttservnew()
H A Dtculog.c47 if(pthread_mutex_init(ulog->rmtxs + i, NULL) != 0) tcmyfatal("pthread_mutex_init failed"); in tculognew()
49 if(pthread_rwlock_init(&ulog->rwlck, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tculognew()
50 if(pthread_cond_init(&ulog->cnd, NULL) != 0) tcmyfatal("pthread_cond_init failed"); in tculognew()
51 if(pthread_mutex_init(&ulog->wmtx, NULL) != 0) tcmyfatal("pthread_mutex_init failed"); in tculognew()
H A Dtcrdb.c113 if(pthread_mutex_init(&rdb->mmtx, NULL) != 0) tcmyfatal("pthread_mutex_init failed"); in tcrdbnew()
114 if(pthread_key_create(&rdb->eckey, NULL) != 0) tcmyfatal("pthread_key_create failed"); in tcrdbnew()
/dports/textproc/tokyodystopia/tokyodystopia-0.9.15/
H A Dtcwdb.c70 if(pthread_rwlock_init(wdb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcwdbnew()
72 if(!tcbdbsetmutex(wdb->idx)) tcmyfatal("tcbdbsetmutex failed"); in tcwdbnew()
H A Ddystopia.c66 if(pthread_rwlock_init(idb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcidbnew()
68 if(!tchdbsetmutex(idb->txdb)) tcmyfatal("tchdbsetmutex failed"); in tcidbnew()
H A Dtcqdb.c84 if(pthread_rwlock_init(qdb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcqdbnew()
86 if(!tcbdbsetmutex(qdb->idx)) tcmyfatal("tcbdbsetmutex failed"); in tcqdbnew()
H A Dlaputa.c72 if(pthread_rwlock_init(jdb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcjdbnew()
74 if(!tchdbsetmutex(jdb->txdb)) tcmyfatal("tchdbsetmutex failed"); in tcjdbnew()