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

A critical_section is a mutex, a futex is a general synchronization primitive (a critical_section might be implemented on a more general primitive of course, I'm not a Windows expert).


Critical section was IIRC built on top of windows manual/auto reset events which are a different primitive useful for more than just mutex but without the userspace coordination aspect (32 bit value) of futexes.




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

Search: