------------------------------------------------------------------------- trylock_handler Small handler to handle TSMutexLockTry failures Input: contp continuation for the current transaction event event received data pointer on optional data Output : Return Value: -------------------------------------------------------------------------*/
| 830 | Return Value: |
| 831 | -------------------------------------------------------------------------*/ |
| 832 | static int |
| 833 | trylock_handler(TSCont contp, TSEvent event ATS_UNUSED, void *edata ATS_UNUSED) |
| 834 | { |
| 835 | auto data = static_cast<TryLockData *>(TSContDataGet(contp)); |
| 836 | transform_handler(data->contp, data->event, nullptr); |
| 837 | TSfree(data); |
| 838 | TSContDestroy(contp); |
| 839 | return 0; |
| 840 | } |
| 841 | |
| 842 | /*------------------------------------------------------------------------- |
| 843 | transformable |
nothing calls this directly
no test coverage detected