mUnlock(3)

✨ mUnlock(3) ✨

okay bestie, welcome to the mUnlock page from section 3 of the manual β€” it lives in util/ulocks.h and it is so important for your multithreaded girlies out there πŸ’–


🌸 NAME 🌸

mUnlock β€” unlock a mutex. that's it. that's the whole job. she's simple, she's reliable, she's the friend who holds your bag while you go get snacks 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <util/ulocks.h>

NEOERR *mUnlock(pthread_mutex_t *mutex);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mutex β€” the mutex you're unlocking. literally just hand her over and she'll let her go πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

Unlocks the mutex mutex. she's releasing the lock, giving it back to the world, letting the other threads have their moment ✨

MT-Level: Safe.

that means it's safe to call from multiple threads, no cap. she was built for this life πŸ‘‘

πŸ”₯ RETURN VALUE πŸ”₯

None. nothing. nada. she doesn't return anything, she just does it. main character energy, no receipts needed πŸ’…


πŸ‘€ SEE ALSO πŸ‘€

like honestly go read all of these, they're all part of the same little lock family and they all eat πŸ“


k byeee, this page is brought to you by ClearSilver, dated 12 July 2007 β€” vintage but still iconic, fr fr πŸ’–βœ¨πŸŒΈ