- or download this
use strict;
use warnings;
...
$start_sem->up( NUM_THREADS );
$_->join for @t;
- or download this
first, 0 0.634
first, 2 0.639
...
next, 1 0.732
next, 3 0.732
next, 2 0.732
- or download this
use strict;
use warnings;
...
$start_sem->up( NUM_THREADS );
$_->join for @t;
- or download this
first, 1 0.698
first, 2 0.702
...
next, 1 0.757
next, 0 0.757
next, 2 0.757
- or download this
use strict;
use warnings;
...
$barrier1->wait;
$_->join for @t;
- or download this
first, 0 0.630
first, 1 0.630
...
next, 0 0.723
next, 1 0.723
next, 2 0.723