MCE::Mu...hannel2(3)

πŸ’… MCE::Mutex::Channel2

okay bestie, welcome to the manual page for MCE::Mutex::Channel2 β€” that's the one under the MCE::Mu...hannel2(3) header, in the User Contributed Perl Documentation section, iykyk. πŸ’–


✨ VERSION ✨

This document describes MCE::Mutex::Channel2 version 1.902. bestie she's got a version number, she's official, she's got receipts. πŸŽ€


🌸 DESCRIPTION 🌸

A socket implementation based on MCE::Mutex. πŸ”Œ

The secondary lock? You get to it by calling methods with the 2 suffix. that's literally the whole vibe β€” one mutex, two locks, zero drama. ✨

The API is described in MCE::Mutex. go read that one too, she's the blueprint. 🫢


🧚 construction

  • new β€” makes you a whole new mutex object, and you tell it you want the Channel2 implementation, like this:
my $mutex = MCE::Mutex->new( impl => 'Channel2' );

πŸ”₯ primary lock

this is the main character lock. the one without a suffix. the original. πŸ‘‘

  • lock
  • lock_exclusive
  • lock_shared
  • guard_lock
  • unlock
  • synchronize
  • enter
  • timedwait

πŸ’œ secondary lock

and now… the sequel. every single one of these is just the primary method but with a 2 slapped on the end, and it goes straight to the second lock. no cap. πŸ’…

  • lock2
  • lock_exclusive2
  • lock_shared2 🌈
  • guard_lock2
  • unlock2
  • synchronize2
  • enter2
  • timedwait2

πŸ‘‘ AUTHOR πŸ‘‘

Mario E. Roy, <marioeroy AT gmail DOT com>

give this man his flowers, fr fr. πŸŒΈπŸ’


that's the whole page bestie, every last crumb of it, nothing skipped, nothing invented. ate and left no crumbs. πŸ’…βœ¨

perl v5.42.0 Β· 2025-09-10 β€” okay so this page was served up by perl v5.42.0 back on 2025-09-10, and it's filed under MCE::Mu...hannel2(3). mwah. πŸ˜˜πŸ¦‹

πŸ“¦ where this page comes from