Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cperciva
on Aug 20, 2014
|
parent
|
context
|
favorite
| on:
fork() can fail
Oops, quite right. I was originally thinking of
if ((rc = pthread_mutex_lock(mtx))) err("mutex_lock failed: %s", strerror(rc));
but decided to switch to a better-known function at the last minute and completely lost the point.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: