globus_memory.h(3)

πŸ“¦
version 18.15 Β· 6 versions
, in epel 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– globus_memory.h πŸ’–

okay bestie, welcome to globus_memory.h β€” the Memory Pool header from globus_common. it's a C library functions manual page and honestly? it's giving "small but mighty." let's get into it 🫢


✨ NAME ✨

globus_memory.h β€” Memory Pool. that's the whole vibe. a pool. of memory. iconic behavior 🌸


πŸŽ€ SYNOPSIS πŸŽ€

first things first, you gotta pull in the headers, no cap:

#include 'globus_types.h'
#include 'globus_module.h'
#include 'globus_thread.h'

🌈 Functions 🌈

here's the whole cast, main character energy only:

  • globus_bool_t globus_memory_init (globus_memory_t *mem_info, int node_size, int node_count) β€” Initialize memory pool. yes queen, set it up πŸ’…
  • void * globus_memory_pop_node (globus_memory_t *mem_info) β€” Retrieve a memory item from a pool. grab one, go off ✨
  • globus_bool_t globus_memory_push_node (globus_memory_t *mem_info, void *buf) β€” Return a memory item to the pool. give it back when you're done, we don't litter 🧚
  • globus_bool_t globus_memory_destroy (globus_memory_t *mem_info) β€” Destroy a memory pool. it's over bestie, say bye 😭

🌸 Detailed Description 🌸

Memory Pool.

that's it. that's the description. lowkey the most minimalist thing i've ever read and honestly? respect. it's a memory pool, it pools memory, the end πŸ’œ


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for globus_common from the source code. not a human, just a little robot doing its thing πŸ€–βœ¨ no cap.


heads up bestie: this whole page was auto-generated, so if something looks weird, blame Doxygen, not me πŸ’€

and that's the whole page!! πŸŽ€ this is from globus_common, Version 18.15, and it's the manual for globus_memory.h(3). go forth and pool your memory responsibly, bestie β€” love u, bye πŸ¦‹πŸ’–βœ¨