Marc A. Lehmann
/
6.57
(MLEHMANN on 2020-07-29)
6.4801
(RURBAN on 2015-10-06)
'
6.55
(MLEHMANN on 2019-07-19)
6.54
(MLEHMANN on 2018-12-16)
6.53
(MLEHMANN on 2018-12-16)
6.52
(MLEHMANN on 2018-08-14)
6.514
(MLEHMANN on 2017-08-31)
6.513
(MLEHMANN on 2017-07-14)
6.512
(MLEHMANN on 2017-07-14)
6.511
(MLEHMANN on 2016-06-26)
6.51
(MLEHMANN on 2016-06-25)
6.5
(MLEHMANN on 2016-06-22)
6.49
(MLEHMANN on 2015-10-16)
6.48
(MLEHMANN on 2015-10-04)
6.47
(MLEHMANN on 2015-07-11)
6.46
(MLEHMANN on 2015-06-30)
6.43
(MLEHMANN on 2015-06-07)
6.42
(MLEHMANN on 2015-02-11)
6.41
(MLEHMANN on 2014-09-06)
6.39
(MLEHMANN on 2014-06-01)
6.38
(MLEHMANN on 2014-06-01)
6.37
(MLEHMANN on 2014-03-04)
6.36
(MLEHMANN on 2014-03-04)
6.33
(MLEHMANN on 2013-11-18)
6.32
(MLEHMANN on 2013-11-05)
6.31
(MLEHMANN on 2013-05-09)
6.29
(MLEHMANN on 2013-05-08)
6.23
(MLEHMANN on 2012-12-07)
6.10
(MLEHMANN on 2012-10-08)
6.09
(MLEHMANN on 2012-10-06)
6.08
(MLEHMANN on 2012-04-13)
6.07
(MLEHMANN on 2011-11-11)
6.06
(MLEHMANN on 2011-08-08)
6.05
(MLEHMANN on 2011-08-04)
6.04
(MLEHMANN on 2011-08-03)
6.03
(MLEHMANN on 2011-08-03)
6.02
(MLEHMANN on 2011-07-13)
6.01
(MLEHMANN on 2011-07-03)
6.0
(MLEHMANN on 2011-06-29)
5.372
(MLEHMANN on 2011-02-23)
5.371
(MLEHMANN on 2011-02-21)
5.37
(MLEHMANN on 2011-02-19)
5.26
(MLEHMANN on 2011-02-13)
5.25
(MLEHMANN on 2010-11-11)
5.24
(MLEHMANN on 2010-10-23)
5.23
(MLEHMANN on 2010-05-17)
5.22
(MLEHMANN on 2010-04-14)
5.21
(MLEHMANN on 2009-12-16)
5.2
(MLEHMANN on 2009-10-04)
5.17
(MLEHMANN on 2009-08-22)
5.162
(MLEHMANN on 2009-07-28)
5.161
(MLEHMANN on 2009-07-22)
5.16
(MLEHMANN on 2009-07-20)
5.151
(MLEHMANN on 2009-07-06)
5.15
(MLEHMANN on 2009-06-30)
5.14
(MLEHMANN on 2009-06-23)
5.132
(MLEHMANN on 2009-05-29)
5.131
(MLEHMANN on 2009-03-16)
5.13
(MLEHMANN on 2008-12-15)
5.12
(MLEHMANN on 2008-12-07)
5.11
(MLEHMANN on 2008-11-25)
5.1
(MLEHMANN on 2008-11-24)
5.0
(MLEHMANN on 2008-11-20)
4.914
(MLEHMANN on 2008-11-19)
4.913
(MLEHMANN on 2008-11-15)
4.912
(MLEHMANN on 2008-11-13)
4.911
(MLEHMANN on 2008-11-11)
4.901
(MLEHMANN on 2008-11-11)
4.91
(MLEHMANN on 2008-11-10)
4.9
(MLEHMANN on 2008-11-08)
4.804
(MLEHMANN on 2008-11-05)
4.803
(MLEHMANN on 2008-11-03)
4.802
(MLEHMANN on 2008-10-30)
4.801
(MLEHMANN on 2008-10-22)
4.8
(MLEHMANN on 2008-10-02)
4.749
(MLEHMANN on 2008-09-29)
4.748
(MLEHMANN on 2008-09-27)
4.747
(MLEHMANN on 2008-09-23)
4.746
(MLEHMANN on 2008-09-21)
4.745
(MLEHMANN on 2008-07-23)
4.744
(MLEHMANN on 2008-07-08)
4.743
(MLEHMANN on 2008-06-15)
4.742
(MLEHMANN on 2008-05-31)
4.741
(MLEHMANN on 2008-05-30)
4.74
(MLEHMANN on 2008-05-29)
4.73
(MLEHMANN on 2008-05-29)
4.72
(MLEHMANN on 2008-05-25)
4.71
(MLEHMANN on 2008-05-24)
4.7
(MLEHMANN on 2008-05-10)
4.51
(MLEHMANN on 2008-04-14)
4.50
(MLEHMANN on 2008-04-10)
4.49
(MLEHMANN on 2008-04-07)
4.48
(MLEHMANN on 2008-04-07)
4.47
(MLEHMANN on 2008-04-05)
4.46
(MLEHMANN on 2008-04-04)
4.45
(MLEHMANN on 2008-03-13)
4.4
(MLEHMANN on 2008-02-13)
4.37
(MLEHMANN on 2008-01-20)
4.36
(MLEHMANN on 2008-01-13)
4.35
(MLEHMANN on 2008-01-13)
4.34
(MLEHMANN on 2007-12-22)
4.33
(MLEHMANN on 2007-12-17)
4.32
(MLEHMANN on 2007-12-17)
4.31
(MLEHMANN on 2007-12-05)
4.3
(MLEHMANN on 2007-12-04)
4.22
(MLEHMANN on 2007-11-30)
4.21
(MLEHMANN on 2007-11-25)
4.2
(MLEHMANN on 2007-11-09)
4.13
(MLEHMANN on 2007-10-24)
4.11
(MLEHMANN on 2007-10-11)
4.1
(MLEHMANN on 2007-10-11)
4.03
(MLEHMANN on 2007-10-06)
4.02
(MLEHMANN on 2007-10-06)
4.01
(MLEHMANN on 2007-10-05)
4.0
(MLEHMANN on 2007-10-05)
3.63
(MLEHMANN on 2007-05-16)
3.62
(MLEHMANN on 2007-04-27)
3.61
(MLEHMANN on 2007-04-19)
3.6
(MLEHMANN on 2007-04-14)
3.55
(MLEHMANN on 2007-03-25)
3.51
(MLEHMANN on 2007-03-04)
3.501
(MLEHMANN on 2007-02-28)
3.5
(MLEHMANN on 2007-02-13)
3.41
(MLEHMANN on 2007-01-22)
3.4
(MLEHMANN on 2007-01-19)
3.3
(MLEHMANN on 2007-01-06)
3.2
(MLEHMANN on 2006-12-22)
3.11
(MLEHMANN on 2006-12-05)
3.1
(MLEHMANN on 2006-12-04)
3.0
(MLEHMANN on 2006-12-03)
2.5
(MLEHMANN on 2006-11-07)
2.1
(MLEHMANN on 2006-11-01)
2.0
(MLEHMANN on 2006-10-24)
1.9
(MLEHMANN on 2006-02-02)
1.7
(MLEHMANN on 2005-12-27)
1.6
(MLEHMANN on 2005-12-12)
1.51
(MLEHMANN on 2005-12-12)
1.5
(MLEHMANN on 2005-11-29)
1.4
(MLEHMANN on 2005-09-05)
1.31
(MLEHMANN on 2005-08-30)
1.3
(MLEHMANN on 2005-08-20)
1.11
(MLEHMANN on 2005-03-03)
1.1
(MLEHMANN on 2005-02-22)
1.0a
(MLEHMANN on 2004-08-10)
1.0
(MLEHMANN on 2004-08-10)
0.97
(MLEHMANN on 2004-05-14)
0.96
(MLEHMANN on 2004-05-13)
0.95
(MLEHMANN on 2004-02-15)
0.9
(MLEHMANN on 2003-11-23)
0.8
(MLEHMANN on 2003-11-05)
0.652
(MLEHMANN on 2003-05-08)
0.651
(MLEHMANN on 2003-03-29)
0.65
(MLEHMANN on 2003-03-22)
0.6
(MLEHMANN on 2002-11-21)
0.534
(MLEHMANN on 2002-04-14)
0.533
(MLEHMANN on 2002-02-22)
0.532
(MLEHMANN on 2002-01-16)
0.531
(MLEHMANN on 2001-12-10)
0.53
(MLEHMANN on 2001-11-27)
0.52
(MLEHMANN on 2001-11-06)
0.51
(MLEHMANN on 2001-11-01)
0.5
(MLEHMANN on 2001-09-28)
0.49
(MLEHMANN on 2001-09-16)
0.49a
(MLEHMANN on 2001-09-16)
0.45
(MLEHMANN on 2001-09-02)
0.13
(MLEHMANN on 2001-08-08)
0.12
(MLEHMANN on 2001-07-27)
0.11
(MLEHMANN on 2001-07-24)
0.1
(MLEHMANN on 2001-07-23)
0.08
(MLEHMANN on 2001-07-19)
0.07
(MLEHMANN on 2001-07-17)
0.06
(MLEHMANN on 2001-07-17)
0.05
(MLEHMANN on 2001-07-15)
0.04
(MLEHMANN on 2001-07-15)
0.03
(MLEHMANN on 2001-07-14)
0.02
(MLEHMANN on 2001-07-09)
0.01
(MLEHMANN on 2001-07-03)
Coro-4.803
River stage two
• 54 direct dependents
• 70 total dependents
79 ++
/
Coro::Channel
NAME
Coro::Channel - message queues
SYNOPSIS
use Coro::Channel;
$q1 = new Coro::Channel <maxsize>;
$q1->put ("xxx");
print $q1->get;
die unless $q1->size;
DESCRIPTION
A Coro::Channel is the equivalent of a pipe: you can put things into it on one end end read things out of it from the other hand. If the capacity of the Channel is maxed out writers will block. Both ends of a Channel can be read/written from as many coroutines as you want.
$q = new Coro:Channel $maxsize
Create a new channel with the given maximum size (unlimited if maxsize
is omitted). Giving a size of one gives you a traditional channel, i.e. a queue that can store only a single element (which means there will be no buffering). To buffer one element you have to specify 2
, and so on.
$q->put ($scalar)
Put the given scalar into the queue.
$q->get
Return the next element from the queue, waiting if necessary.
$q->timed_get ($timeout)
Return the next element from the queue, waiting up to $timeout
seconds if necessary. If no element arrives within the given time an empty list will be returned.
$q->size
Return the number of elements waiting to be consumed. Please note that:
if ($q->size) {
my $data = $q->get;
}
is NOT a race condition but works fine.
AUTHOR
Marc Lehmann <schmorp@schmorp.de>
http://home.schmorp.de/