You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A heap created with parSafe=true can deadlock under some sequences of operations, e.g. push followed by pop or top. push followed by push appears to work. I didn't try any other combinations. It wasn't obvious from looking at the code where the problem lies.
Steps to Reproduce
Source Code:
use Heap;
var h =new heap(int, parSafe=true);
h.push(1);
writeln(h.pop());
Compile command:
chpl --no-devel foo.chpl
Execution command:
./foo
Associated Future Test(s):
Configuration Information
Output of chpl --version:
chpl version 1.26.0 pre-release (27f3d59788)
Copyright 2020-2022 Hewlett Packard Enterprise Development LP
Copyright 2004-2019 Cray Inc.
(See LICENSE file for more details)
Output of $CHPL_HOME/util/printchplenv --anonymize:
Summary of Problem
A heap created with
parSafe=true
can deadlock under some sequences of operations, e.g.push
followed bypop
ortop
.push
followed bypush
appears to work. I didn't try any other combinations. It wasn't obvious from looking at the code where the problem lies.Steps to Reproduce
Source Code:
Compile command:
chpl --no-devel foo.chpl
Execution command:
./foo
Associated Future Test(s):
Configuration Information
chpl --version
:$CHPL_HOME/util/printchplenv --anonymize
:gcc --version
orclang --version
:module list
:The text was updated successfully, but these errors were encountered: