Y
Hacker News
new
|
ask
|
show
|
jobs
by
yxhuvud
5184 days ago
On a similar note, what is up with thrd_timedout, thrd_success, thrd_busy, thrd_error, thrd_nomem?
Why no ea's?
2 comments
mattgreenrocks
5183 days ago
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?
link
adestefan
5183 days ago
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.
link
cpeterso
5183 days ago
If the C committees want to avoid namespace collisions, why not use _Keyword style names like _Mutex_init and _Mutex_destroy?
link
Can anyone defend this?