News for hackers. Stuff that matters.
Re:Show HN: Chan – pure C implementation of Go channels by sdab on Friday August 29, 2014 @07:29PM (#8244998)
I'm more of a c++ programmer, but I think i can chime in on the mutex/pcond being "part" of the struct. Essentially, OP means that why arent they on chan's stack? In the struct you have pointers to mutex and pcond which means you have to malloc them. OP is suggesting they not be pointers.

There are no comments on this comment yet.