diff options
| author | fukachan <fukachan> | 2003-03-18 10:38:33 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-03-18 10:38:33 +0000 |
| commit | dd8409a55f44a19a9e8602d1862d64e901d6e302 (patch) | |
| tree | 157d731328cf56b48c1b08ee932b03a3844c479a /fml/lib | |
| parent | 2055bcc5a6b3b0e5557a1b8afb6aeb57ecb53eed (diff) | |
| download | fml8-dd8409a55f44a19a9e8602d1862d64e901d6e302.tar.gz fml8-dd8409a55f44a19a9e8602d1862d64e901d6e302.tar.bz2 fml8-dd8409a55f44a19a9e8602d1862d64e901d6e302.zip | |
add comment on lock.
Diffstat (limited to 'fml/lib')
| -rw-r--r-- | fml/lib/FML/Process/QueueManager.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/QueueManager.pm b/fml/lib/FML/Process/QueueManager.pm index 1c6b4ab1..d40f6358 100644 --- a/fml/lib/FML/Process/QueueManager.pm +++ b/fml/lib/FML/Process/QueueManager.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: QueueManager.pm,v 1.10 2002/12/22 03:46:20 fukachan Exp $ +# $FML: QueueManager.pm,v 1.11 2003/01/11 06:58:46 fukachan Exp $ # package FML::Process::QueueManager; @@ -112,6 +112,7 @@ sub send sub _send { my ($self, $curproc, $q) = @_; + my $cred = $curproc->{ credential }; my $info = $q->getidinfo(); my $qfile = $info->{ 'path' }; my $qid = $info->{ 'id' }; @@ -121,6 +122,8 @@ sub _send use FML::Mailer; my $obj = new FML::Mailer; + + # XXX queue is already locked and need no lock for recipient maps here. my $r = $obj->send({ sender => $info->{ sender }, recipients => $info->{ recipients }, |
