Fix missing mutex unlock with zero-copy and iothreads O_o
This commit is contained in:
@@ -125,6 +125,8 @@ void ring_loop_t::loop()
|
|||||||
if (cqe->flags & IORING_CQE_F_MORE)
|
if (cqe->flags & IORING_CQE_F_MORE)
|
||||||
{
|
{
|
||||||
// There will be a second notification
|
// There will be a second notification
|
||||||
|
if (mt)
|
||||||
|
mu.unlock();
|
||||||
d->res = cqe->res;
|
d->res = cqe->res;
|
||||||
d->more = true;
|
d->more = true;
|
||||||
if (d->callback)
|
if (d->callback)
|
||||||
|
|||||||
Reference in New Issue
Block a user