TSCONTTHREADAFFINITYGET(3ts)

πŸ“¦
version 9.2.5 Β· 4 versions
, in ubuntu noble, ubuntu questing

✨ 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. ✨


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