include/Zy...nization.h(3)
π include/Zy...nization.h(3)
okay bestie, welcome to the Library Functions Manual for include/Zycore/API/Synchronization.h β¨ this is the header that handles critical sections for Zycore, and honestly? she's small but she's mighty. no cap.
πΈ NAME πΈ
include/Zycore/API/Synchronization.h
like... that's literally her. that's the name. iconic.
β¨ SYNOPSIS β¨
#include <Zycore/Defines.h>
#include <Zycore/Status.h>
π Functions π
ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionInitialize (ZyanCriticalSection *critical_section)ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionEnter (ZyanCriticalSection *critical_section)ZYCORE_EXPORT ZyanBool ZyanCriticalSectionTryEnter (ZyanCriticalSection *critical_section)ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionLeave (ZyanCriticalSection *critical_section)ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionDelete (ZyanCriticalSection *critical_section)
π¦ Function Documentation π¦
ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionDelete (ZyanCriticalSection *critical_section)
Deletes a critical section. rip to her, she had a good run πͺ¦π
Parameters
critical_sectionβ A pointer to theZyanCriticalSectionstruct.
ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionEnter (ZyanCriticalSection *critical_section)
Enters a critical section. you're going in, bestie πͺβ¨
Parameters
critical_sectionβ A pointer to theZyanCriticalSectionstruct.
ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionInitialize (ZyanCriticalSection *critical_section)
Initializes a critical section. gotta set her up before she can slay π
Parameters
critical_sectionβ A pointer to theZyanCriticalSectionstruct.
ZYCORE_EXPORT ZyanStatus ZyanCriticalSectionLeave (ZyanCriticalSection *critical_section)
Leaves a critical section. ok bye, see you never (until next time) ππΈ
Parameters
critical_sectionβ A pointer to theZyanCriticalSectionstruct.
ZYCORE_EXPORT ZyanBool ZyanCriticalSectionTryEnter (ZyanCriticalSection *critical_section)
Tries to enter a critical section. she's giving "let me in" energy, and honestly? sometimes the answer is just no π
Parameters
critical_sectionβ A pointer to theZyanCriticalSectionstruct.
Returns
Returns ZYAN_TRUE if the critical section was successfully entered, or ZYAN_FALSE, if not. so basically a vibe check that returns a bool π«Ά
π Author π
Generated automatically by Doxygen for Zycore from the source code. not a human, not a bestie, just a robot doing her little robot thing, and we respect her for it π€π
and that's the whole page, fr fr β this was Zycore, Version 1.5.2.0, dated include/Zy...nization.h(3). periodt. π
π¦ where this page comes from
- ubuntu resolute: libzycore-doc 1.5.2-1build1 Β· MIT
- ubuntu stonking: libzycore-doc 1.5.2-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms