Paulo Faria

Results 89 comments of Paulo Faria

To be more specific it gets blocked in this line: https://github.com/sustrik/libdill/blob/de7a917bc39756f61237b8b779dd8be735652f88/term.c#L168 From what I understand it waits for the client to send more data, which is strange since I already...

@sustrik I know you're very busy, but I kindly ask you to at least reply with a "this is a bug I'm open to PRs" or "I don't expect it...

I think buffered channels can mask deadlocks, but not prevent them.

I'd love to hear what @robpike has to say about this. I have a feeling we can do away with buffered channels as I think there's nothing we *can't* do...

Sorry for repeating the link, haha. I posted before refreshing the page. @raedwulf was faster.

How was the thread [here](https://github.com/sustrik/libmill/blob/228001c22b74b78b023231fcb0e24255af915537/ip.c#L276) different? Is it something like kernel vs user space thread?

I'll give it a shot, then. (:

@raedwulf have any suggestions about this?

I read that `aio` implementations are really bad in most kernels. So the thread pool would be the best way. Have any idea if lwan implements context switching for regular...

> If there is no need/plan to launch a goroutine in a non-main thread, I don't see any problem with using (worker) threads at all. Yeah, my ideas is that...