Hacker News new | past | comments | ask | show | jobs | submit login

Oh $DEITY. That can't be possibly right. Are they serialising all FD creation thru a single mutex?? Why they can't just close all sockets that need closing after fork?

Also the FD mutex that need to be taken before each read and write is nasty (is it just to prevent a race with close or is it for something else?), but at least that won't usually require any syscall and on sane applications could be optimised with a Java-like biased lock.




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

Search: