TSMutexUnlock

Synopsis

#include <ts/ts.h>
void TSMutexUnlock(TSMutex mutexp)

Description

Decrements the recursive lock count. If the count thus becomes zero, unlocks the mutex. This should only be called within the continuation handler function or TSThread function that locked the mutex. Can also be called within the continuation handler for the continuation’s mutex. (This is normally done before the continution handler destroys the continuation running it.)