3 ms·
select isn't in C; it's in POSIX. I worked in Windows development shops where nobody knew select; but they could write WaitForMultipleObjects code in their sle
by kazinator 8y ago
select isn't in C; it's in POSIX.
I worked in Windows development shops where nobody knew select; but they could write WaitForMultipleObjects code in their sleep.
A strictly conforming ISO C program can use the select identifier however it wants, including as an external name for an object or function.
> your suggestion that it should be named the same as Go is a bit ridiculous
It's not any more ridiculous than wanting to have a library which imitates Go concurrency down to macros that imitate some of the syntax.
- xeeeeeeeeeeenu 8y ago>I worked in Windows development shops where nobody knew select; but they could write WaitForMultipleObjects code in their sleep. That's hard to believe considering the fact that POSIX-compatible select() is a part of the winsock API.