| 257 | } |
| 258 | |
| 259 | void |
| 260 | TSContScheduleEveryOnPool_test() |
| 261 | { |
| 262 | TSCont contp = TSContCreate(TSContScheduleEveryOnPool_handler, TSMutexCreate()); |
| 263 | |
| 264 | if (contp == nullptr) { |
| 265 | Dbg(dbg_ctl_schd, "[%s] could not create continuation", plugin_name); |
| 266 | abort(); |
| 267 | } else { |
| 268 | Dbg(dbg_ctl_schd, "[%s] scheduling continuation", plugin_name); |
| 269 | TSContScheduleEveryOnPool(contp, 900, TS_THREAD_POOL_NET); |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | static int |
| 274 | TSContScheduleEveryOnThread_handler(TSCont /* contp ATS_UNUSED */, TSEvent /* event ATS_UNUSED */, void * /* edata ATS_UNUSED */) |
no test coverage detected