GLOBUS_XIO_TCP_DRIVER_IO(3)

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

πŸŽ€ NAME πŸŽ€

globus_xio_tcp_driver_io β€” it's giving Reading/Writing, bestie πŸ’–

Literally just Reading/Writing. That's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

okay so there's no fancy flag list here, this page is more of a "let me explain the energy" situation πŸ‘‘ keep reading, it's all in the description below πŸ’…

🌸 Detailed Description 🌸

Reading/Writing. 🫢

So here's the tea, bestie: both the globus_xio_register_read() and globus_xio_register_write() calls? They follow the same semantics as described below. No cap, they're twins fr fr πŸ‘―

  • If the waitforbytes parameter is greater than zero β€” the io is gonna happen asynchronously ✨ and it's only completed when at least waitforbytes has been read/written. It's patient. It waits. main character energy honestly πŸ’…
  • If the waitforbytes parameter is equal to zero β€” okay so now we have options, and one of these alternative behaviors occurs:
    • If the length of the buffer is > 0 β€” the read or write happens synchronously ⭐ and lowkey here's the detail you don't wanna miss: if the user is using one of the blocking xio calls, no internal callback will occur. None. Zero. Nada. πŸ™ˆ
    • If the length of the buffer is also 0 β€” then the call behaves like an asynchronous notification of data ready to be either read or written. ie, an asynchronous select(). It's not doing the thing, it's telling you the thing is ready. it's giving "hey bestie, it's your turn" πŸ“£πŸ’œ
🚨 and in any case, when an error or EOF occurs before the waitforbytes request has been met, the outgoing nbytes is set to the amount of data actually read/written before the error or EOF occurred. So like, it tells you the truth about how far you got before it all went sideways 😭 accurate reporting slay

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for globus_xio from the source code. πŸ€– (not a human girly writing this, just the machine doing its lil thing, but she ate regardless πŸ’…βœ¨)


and that's the whole page, bestie 🫢 this lil slice of wisdom came to you from the globus_xio crew, Version 6.6 🌈 mwah, go read/write something iconic πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from