futex_thread_create(9)
π futex_thread_create β the bestie thread-maker π
okay so welcome to the Kernel API Manual corner for futex_thread_create(9) β sheβs literally the function you call to create a new thread for testing, and Iβm obsessed. π§΅β¨
πΈ NAME πΈ
futex_thread_create β create a new thread for testing. π
β¨ SYNOPSIS β¨
int futex_thread_create (struct futex_thread *t , int (*threadfn)(void
*) , void *arg );
π ARGUMENTS π
tβ the handle of the newly created thread. Sheβs the little grip you hold onto. π«Άthreadfnβ the new thread starts execution by invokingthreadfn. Iconic entry-point behavior. π₯argβ the parameters passed tothreadfn. Drop the payload here. π
π¦ SEE ALSO π¦
- Kernel file:
./tools/testing/selftests/futex/include/futex_thread.hβ yes bestie, thatβs where she lives. π futex_wait_for_thread(9),futex_thread_destroy(9)β the futex thread friend group you should also check. ππ
bye bestie π«Ά the footer source/version energy on this one is ./tools/testing/selftests/fute..., and the date is October 2026 β futex_thread_create(9) signing off πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms