Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It wouldn't need a pool of threads for a stack, it just needs some memory in the server's address space for the stack.

Together with the other points about marking the current thread sleeping and passing control to the server thread, and about server threads waiting for an invocation, I think what is described is pretty clearly the server threads are being used to execute code on the server on behalf of the client request.



can you figure out how this mechanism works? my notes in https://news.ycombinator.com/item?id=41056051 reflect me rooting around and giving up; it's nonobvious


wahern did figure it out




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: