TSCONTTHREADAFFINITYGET(3ts)
β¨ TSCONTTHREADAFFINITYGET β¨
okay bestie, gather round, we're doing a <ts/ts.h> moment π
this one lives in the Apache Traffic Server manual, section 3ts, and it's honestly so short it's giving snack. no cap.
πΈ NAME πΈ
TSContThreadAffinityGet β the TSContThreadAffinityGet API function π«Ά
like... that's the whole name. it's a function. it's an API. it's iconic for being exactly what it says on the tin. iykyk.
π¦ SYNOPSIS π¦
first you gotta pull in the header, obviously:
#include <ts/ts.h>
and then here's the whole signature, no crumbs:
TSEventThread TSContThreadAffinityGet(TSCont contp)
π DESCRIPTION π
so bestie, what does it do? it gets the thread affinity of the continuation contp. that's it. that's the vibe. you hand it a TSCont and it hands you back the thread affinity. main character energy, zero drama. β¨
π COPYRIGHT π
2026, dev@trafficserver.apache.org
and that's a wrap, gorgeous π this page was brought to you by Apache Traffic Server, version 9.2, dated Feb 12, 2026, and section 3ts of the manual. mwah π go get that thread affinity, you absolute legend ππ
π¦ where this page comes from
- ubuntu noble: trafficserver-dev 9.2.3+ds-1+deb12u1ubuntu0.1 Β· Apache-2.0
- ubuntu questing: trafficserver-dev 9.2.5+ds-1ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms