0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 12:48:54 +02:00

ircd::ctx::parallel: Block interruption when calling sender().

This commit is contained in:
Jason Volk 2019-01-25 16:41:16 -08:00
parent 33601e88a1
commit 3e9b830206

View file

@ -73,6 +73,7 @@ template<class arg>
void
ircd::ctx::parallel<arg>::operator()(const arg &a)
{
const uninterruptible ui;
rethrow_any_exception();
assert(avail());
this->a.at(nextpos()) = a;
@ -84,6 +85,7 @@ template<class arg>
void
ircd::ctx::parallel<arg>::operator()()
{
const uninterruptible ui;
rethrow_any_exception();
assert(avail());
sender();