info > Apache::Session::Lock::Null

🏷️ NAME

Apache::Session::Lock::Null - Does not actually provides mutual exclusion

🚀 Quick Reference

Use CaseCommandDescription
🔧 Instantiate lockermy $locker = Apache::Session::Lock::Null->new;Create a new null locker object
🔓 Acquire read lock$locker->acquire_read_lock($ref);Acquire a read lock (no-op)
🔒 Acquire write lock$locker->acquire_write_lock($ref);Acquire a write lock (no-op)
🔓 Release read lock$locker->release_read_lock($ref);Release a read lock (no-op)
🔓 Release write lock$locker->release_write_lock($ref);Release a write lock (no-op)
🗑️ Release all locks$locker->release_all_locks($ref);Release all locks (no-op)

🔧 SYNOPSIS

use Apache::Session::Lock::Null;

my $locker = Apache::Session::Lock::Null->new;

$locker->acquire_read_lock($ref);
$locker->acquire_write_lock($ref);
$locker->release_read_lock($ref);
$locker->release_write_lock($ref);
$locker->release_all_locks($ref);

💡 This module provides no actual locking — use for maximum performance when locking is unnecessary.

📖 DESCRIPTION

Apache::Session::Lock::Null fulfills the locking interface of Apache::Session, without actually doing any work. This is the module to use if you want maximum performance and don't actually need locking.

👤 AUTHOR

This module was written by Jeffrey William Baker <jwbaker AT acm.org>.

🔗 SEE ALSO

Apache::Session

Apache::Session::Lock::Null
🏷️ NAME 🚀 Quick Reference 🔧 SYNOPSIS 📖 DESCRIPTION 👤 AUTHOR 🔗 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-24 17:58 @216.73.217.23
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!