Re: KQueue and Fibers

2021-04-10 Thread rashir via Digitalmars-d-learn
On Friday, 9 April 2021 at 18:37:43 UTC, Jacob Carlborg wrote: On 2021-04-09 11:00, rashir wrote: Goodmorning everyone, I'm trying to understand both Kqueue and Fiber's operation on Mac. Why don't I get the correct data as long as I read from the socket? It seems to be reading too early, but

Re: KQueue and Fibers

2021-04-09 Thread Jacob Carlborg via Digitalmars-d-learn
On 2021-04-09 11:00, rashir wrote: Goodmorning everyone, I'm trying to understand both Kqueue and Fiber's operation on Mac. Why don't I get the correct data as long as I read from the socket? It seems to be reading too early, but Kquue tells me that the socket is readable. ```D    const

Re: KQueue and Fibers

2021-04-09 Thread rashir via Digitalmars-d-learn
On Friday, 9 April 2021 at 09:49:24 UTC, Arjan wrote: On Friday, 9 April 2021 at 09:00:17 UTC, rashir wrote: Goodmorning everyone, I'm trying to understand both Kqueue and Fiber's operation on Mac. Why don't I get the correct data as long as I read from the socket? It seems to be reading too

Re: KQueue and Fibers

2021-04-09 Thread Arjan via Digitalmars-d-learn
On Friday, 9 April 2021 at 09:00:17 UTC, rashir wrote: Goodmorning everyone, I'm trying to understand both Kqueue and Fiber's operation on Mac. Why don't I get the correct data as long as I read from the socket? It seems to be reading too early, but Kquue tells me that the socket is readable.