Skip to content

Commit

Permalink
Fixing race condition in channel test
Browse files Browse the repository at this point in the history
- this was exposed by the recent patch fixing direct execution (#3104)
  • Loading branch information
hkaiser committed Jan 19, 2018
1 parent 4efa868 commit dca478d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressions/lcos/channel_2916.cpp
Expand Up @@ -49,8 +49,8 @@ int hpx_main()
result.then(
[free_resources, target](hpx::shared_future<int>) mutable
{
++count;
free_resources.set(target.get());
++count;
});

result.get();
Expand Down

0 comments on commit dca478d

Please sign in to comment.