| 40 | } |
| 41 | |
| 42 | static int |
| 43 | LifecycleHookTracer(TSCont /* contp ATS_UNUSED */, TSEvent event, void * /* edata ATS_UNUSED */) |
| 44 | { |
| 45 | if (event == TS_EVENT_LIFECYCLE_TASK_THREADS_READY) { |
| 46 | TSCont contp = TSContCreate(test_handler, TSMutexCreate()); |
| 47 | TSContScheduleOnPool(contp, 500, TS_THREAD_POOL_NET); |
| 48 | TSFatal("testing fatal shutdown"); |
| 49 | } |
| 50 | return 0; |
| 51 | } |
| 52 | |
| 53 | void |
| 54 | TSPluginInit(int /* argc ATS_UNUSED */, const char ** /* argv ATS_UNUSED */) |
nothing calls this directly
no test coverage detected