Home
last modified time | relevance | path

Searched refs:mutexp (Results 1 – 23 of 23) sorted by relevance

/trafficserver/src/traffic_server/
H A DInkIOCoreAPI.cc59 if (mutexp->refcount() < 0) { in sdk_sanity_check_mutex()
62 if (mutexp->nthread_holding < 0) { in sdk_sanity_check_mutex()
248 ProxyMutex *mutexp = new_ProxyMutex(); in TSMutexCreate() local
253 return (TSMutex)mutexp; in TSMutexCreate()
262 if (mutexp) { in TSMutexDestroy()
264 mutexp->free(); in TSMutexDestroy()
289 if (mutexp->refcount() < 0) { in TSMutexCheck()
292 if (mutexp->nthread_holding < 0) { in TSMutexCheck()
299 TSMutexLock(TSMutex mutexp) in TSMutexLock() argument
307 TSMutexLockTry(TSMutex mutexp) in TSMutexLockTry() argument
[all …]
H A DInkAPI.cc1007 : DummyVConnection((ProxyMutex *)mutexp), in INKContInternal()
1025 mutex = (ProxyMutex *)mutexp; in init()
4469 TSContCreate(TSEventFunc funcp, TSMutex mutexp) in TSContCreate() argument
4472 if (mutexp != nullptr) { in TSContCreate()
4473 sdk_assert(sdk_sanity_check_mutex(mutexp) == TS_SUCCESS); in TSContCreate()
4482 i->init(funcp, mutexp, pluginThreadContext); in TSContCreate()
6811 TSVConnCreate(TSEventFunc event_funcp, TSMutex mutexp) in TSVConnCreate() argument
6813 if (mutexp == nullptr) { in TSVConnCreate()
6814 mutexp = (TSMutex)new_ProxyMutex(); in TSVConnCreate()
6818 sdk_assert(sdk_sanity_check_mutex(mutexp) == TS_SUCCESS); in TSVConnCreate()
[all …]
H A DInkAPITest.cc2502 TSMutex mutexp = TSMutexCreate(); in REGRESSION_TEST() local
2503 TSCont contp = TSContCreate(cont_handler, mutexp); in REGRESSION_TEST()
2505 if (TS_SUCCESS == TSMutexLockTry(mutexp)) { // Mutex is grabbed successfully in REGRESSION_TEST()
2507 TSMutexUnlock(mutexp); in REGRESSION_TEST()
2675 TSMutex mutexp = TSMutexCreate(); in REGRESSION_TEST() local
2677 TSMutexLock(mutexp); in REGRESSION_TEST()
2683 lock1 = TSMutexLockTry(mutexp); in REGRESSION_TEST()
2684 lock2 = TSMutexLockTry(mutexp); in REGRESSION_TEST()
2697 TSMutexUnlock(mutexp); in REGRESSION_TEST()
/trafficserver/plugins/lua/
H A Dts_lua.c134 TSMutexLock(ts_lua_main_ctx_array[0].mutexp); in TSRemapNewInstance()
136 TSMutexUnlock(ts_lua_main_ctx_array[0].mutexp); in TSRemapNewInstance()
171 TSMutexLock(ts_lua_main_ctx_array[0].mutexp); in TSRemapNewInstance()
215 TSMutexLock(main_ctx->mutexp); in ts_lua_remap_plugin_init()
241 TSMutexUnlock(main_ctx->mutexp); in ts_lua_remap_plugin_init()
264 TSMutexUnlock(main_ctx->mutexp); in ts_lua_remap_plugin_init()
318 TSMutexLock(main_ctx->mutexp); in globalHookHandler()
338 TSMutexUnlock(main_ctx->mutexp); in globalHookHandler()
408 TSMutexUnlock(main_ctx->mutexp); in globalHookHandler()
416 TSMutexUnlock(main_ctx->mutexp); in globalHookHandler()
[all …]
H A Dts_lua_util.c60 arr[i].mutexp = TSMutexCreate(); in ts_lua_create_vm()
187 TSMutexLock(arr[i].mutexp); in ts_lua_add_module()
206 TSMutexUnlock(arr[i].mutexp); in ts_lua_add_module()
222 TSMutexUnlock(arr[i].mutexp); in ts_lua_add_module()
267 TSMutexUnlock(arr[i].mutexp); in ts_lua_add_module()
280 TSMutexLock(arr[i].mutexp); in ts_lua_del_module()
307 TSMutexUnlock(arr[i].mutexp); in ts_lua_del_module()
320 TSMutexLock(arr[i].mutexp); in ts_lua_reload_module()
368 TSMutexUnlock(arr[i].mutexp); in ts_lua_reload_module()
802 TSMutexLock(main_ctx->mutexp); in ts_lua_http_cont_handler()
[all …]
H A Dts_lua_coroutine.c83 TSMutexLock(mctx->mutexp); in ts_lua_release_cont_info()
95 TSMutexUnlock(mctx->mutexp); in ts_lua_release_cont_info()
H A Dts_lua_coroutine.h34 TSMutex mutexp; // mutex for lua vm member
H A Dts_lua_misc.c272 TSMutexLock(main_ctx->mutexp); in ts_lua_schedule_handler()
286 TSMutexUnlock(main_ctx->mutexp); in ts_lua_schedule_handler()
295 TSMutexUnlock(main_ctx->mutexp); in ts_lua_schedule_handler()
H A Dts_lua_http_intercept.c168 mtxp = ictx->cinfo.routine.mctx->mutexp; in ts_lua_http_intercept_process()
229 mtxp = ictx->cinfo.routine.mctx->mutexp; in ts_lua_http_intercept_handler()
H A Dts_lua_transform.c83 mtxp = crt->mctx->mutexp; in ts_lua_transform_handler()
H A Dts_lua_fetch.c519 lmutex = ai->cinfo->routine.mctx->mutexp; in ts_lua_fetch_multi_handler()
/trafficserver/iocore/cache/test/
H A Dstub.cc251 …:INKContInternal(TSEventFunc funcp, TSMutex mutexp) : DummyVConnection(reinterpret_cast<ProxyMutex… in INKContInternal() argument
272 …onnInternal::INKVConnInternal(TSEventFunc funcp, TSMutex mutexp) : INKContInternal(funcp, mutexp) … in INKVConnInternal() argument
/trafficserver/include/ts/
H A DInkAPIPrivateIOCore.h44 INKContInternal(TSEventFunc funcp, TSMutex mutexp);
46 void init(TSEventFunc funcp, TSMutex mutexp, void *context = 0);
72 INKVConnInternal(TSEventFunc funcp, TSMutex mutexp);
H A Dts.h1120 tsapi void TSMutexDestroy(TSMutex mutexp);
1121 tsapi void TSMutexLock(TSMutex mutexp);
1122 tsapi TSReturnCode TSMutexLockTry(TSMutex mutexp);
1124 tsapi void TSMutexUnlock(TSMutex mutexp);
1192 tsapi TSCont TSContCreate(TSEventFunc funcp, TSMutex mutexp);
2284 tsapi TSVConn TSVConnCreate(TSEventFunc event_funcp, TSMutex mutexp);
/trafficserver/include/tscpp/api/
H A DContinuation.h39 explicit Continuation(Mutex mutexp) : _cont(TSContCreate(_generalEventFunc, mutexp)) in Continuation() argument
/trafficserver/doc/developer-guide/api/functions/
H A DTSMutexLock.en.rst31 .. function:: void TSMutexLock(TSMutex mutexp)
H A DTSMutexLockTry.en.rst31 .. function:: TSReturnCode TSMutexLockTry(TSMutex mutexp)
H A DTSMutexUnlock.en.rst31 .. function:: void TSMutexUnlock(TSMutex mutexp)
H A DTSVConnCreate.en.rst31 .. function:: TSCont TSVConnCreate(TSEventFunc funcp, TSMutex mutexp)
H A DTSContCreate.en.rst31 .. function:: TSCont TSContCreate(TSEventFunc funcp, TSMutex mutexp)
H A DTSMutexDestroy.en.rst31 .. function:: void TSMutexDestroy(TSMutex mutexp)
/trafficserver/example/plugins/c-api/intercept/
H A Dintercept.cc203 InterceptContCreate(TSEventFunc hook, TSMutex mutexp, void *data) in InterceptContCreate() argument
207 TSReleaseAssert((contp = TSContCreate(hook, mutexp))); in InterceptContCreate()
/trafficserver/doc/developer-guide/plugins/
H A Dmutexes.en.rst109 TSMutex mutexp;
110 mutexp = TSMutexCreate ();
119 contp = TSContCreate (handler, mutexp);

Completed in 197 milliseconds