#include <ts/ts.h>
TSCont TSContCreate(TSEventFunc funcp, TSMutex mutexp)


Creates a continuation, which can be destroyed with TSContDestroy(). Note: when a mutex is passed to a call to this function, it creates a reference to the mutex. The mutex will be destroyed when the number of continuations refering to it becomes zero (due to calls to TSContDestroy()). TSMutexDestroy() must not be called for the mutex.