curl / Mailing Lists / curl-library / Single Mail


Re: can't go ahead if event isn't finished in libevent

From: Daniel Stenberg <>
Date: Sun, 30 Apr 2017 17:59:05 +0200 (CEST)

On Fri, 28 Apr 2017, Pahome Chen via curl-library wrote:

> The *sock_cb* will not work when I add *while(1);* in the last of *fifo_cb
> (*block *fifo_cb* in other words*).*

Right, because how could it? The entire hiperfifo program runs in a single
thread. If you block a function and never return from it, the entire thread
will continue executing in that loop.

Received on 2017-04-30