example/thread-pool/psi.c
static int
trylock_handler(INKCont contp, INKEvent event, void *edata)
{
  TryLockData *data = INKContDataGet(contp);
  transform_handler(data->contp, data->event, NULL);
  INKfree(data);
  INKContDestroy(contp);
  return 0;
}
/*-------------------------------------------------------------------------
  trylock_handler
  Small handler to handle INKMutexTryLock failures

  Input:
    contp      continuation for the current transaction
    event      event received
    data       pointer on optional data
  Output :
  Return Value:
  -------------------------------------------------------------------------*/
trylock_handler
Small handler to handle INKMutexTryLock failures

contp      continuation for the current transaction
event      event received
data       pointer on optional data
Output :
Return Value.
trylock_handler Small handler to handle INKMutexTryLock failures contp continuation for the current transaction event event received data pointer on optional data Output : Return Value .
static int
trylock_handler(INKCont contp, INKEvent event, void *edata)
{
  TryLockData *data = INKContDataGet(contp);
  transform_handler(data->contp, data->event, NULL);
  INKfree(data);
  INKContDestroy(contp);
  return 0;
}
static int trylock_handler ( INKCont contp , INKEvent event , void * edata ) { TryLockData * data = INKContDataGet ( contp ) ; transform_handler ( data -> contp , data -> event , NULL ) ; INKfree ( data ) ; INKContDestroy ( contp ) ; return 0 ; }
trylock_handler
Small handler to handle INKMutexTryLock failures
trylock_handler Small handler to handle INKMutexTryLock failures