News for hackers. Stuff that matters.
Re:C Finally Gets A New Standard by exDM69 on Tuesday April 10, 2012 @05:22AM (#3821421)
The whole _Keyword thing is to make it easier to port from older C standards to the new standard. It's not really supposed to be programmer-visible, only a workaround for compilers. There is an extensive explanation about the reasoning behind this solution in the spec. Read that and come back if you still have a problem with making forward-compatibility hacks.
Re:C Finally Gets A New Standard by yxhuvud on Tuesday April 10, 2012 @05:27AM (#3821429)
On a similar note, what is up with thrd_timedout, thrd_success, thrd_busy, thrd_error, thrd_nomem?

Why no ea's?

Re:C Finally Gets A New Standard by mattgreenrocks on Tuesday April 10, 2012 @09:30AM (#3822050)
That's horrible. I read it the first time as "third success." At least "mtx" is a little easier to see (though still quite silly).

Can anyone defend this?

Re:C Finally Gets A New Standard by adestefan on Tuesday April 10, 2012 @11:32AM (#3822627)
The Cxx committees try really had to make everything backwards compatible. This includes trying to not step on existing namespaces. These names, along with mtx, etc., are just going overboard though.
Re:C Finally Gets A New Standard by cpeterso on Tuesday April 10, 2012 @02:51PM (#3823769)
If the C committees want to avoid namespace collisions, why not use _Keyword style names like _Mutex_init and _Mutex_destroy?