The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

EMDIS::ECS::LockedHash - tied hash (SDBM) with simple locking protocol

SYNOPSIS

 use EMDIS::ECS::LockedHash;
 $node_tbl =
     new EMDIS::ECS::LockedHash("node_tbl.dat", "node_tbl.lock", 10);
 $node_tbl->lock or die "unable to lock node_tbl: " .
     $node_tbl->ERROR . "\n";
 $node = $node_tbl->read("UX");
 $node_tbl->write('AA', { node => 'AA' });
 $node_tbl->delete('AA');
 @keys = $node_tbl->keys;
 $node_tbl->unlock;

DESCRIPTION

Tied hash (SDBM) with simple locking protocol.

BUGS

Possibly.

SEE ALSO

EMDIS::ECS, EMDIS::ECS::Config, EMDIS::ECS::FileBackedMessage, EMDIS::ECS::Message

AUTHOR

Neil Smeby <nsmeby@nmdp.org>

Joel Schneider <jschneid@nmdp.org> - modifications.

COPYRIGHT AND LICENSE

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Copyright (C) 2002-2016 National Marrow Donor Program. All rights reserved.

See LICENSE file for license details.

HISTORY

ECS, the EMDIS Communication System, was originally designed and implemented by the ZKRD (http://www.zkrd.de/). This Perl implementation of ECS was developed by the National Marrow Donor Program (http://www.marrow.org/).

2004-03-12 Canadian Blood Services - Tony Wai Added MS Windows support for Windows 2000 and Windows XP Added "DIRECTORY" inBox Protocol. This can interface with any mail system that can output the new messages to text files.