TSThreadSelf

Synopsis

#include <ts/ts.h>

TSThread TSThreadSelf(void)

Description

Return an instance of TSThread that identifies the current thread. This must be called from within a Traffic Server create thread context. That is any thread created by the Traffic Server core or via the Traffic Server API.