Date: Wed, 1 Oct 2003 13:18:07 -0400 From: Ken Smith <kensmith@cse.Buffalo.EDU> To: freebsd-threads@freebsd.org Subject: pthread_mutex_init manual page Message-ID: <20031001171807.GI12227@electra.cse.Buffalo.EDU>
next in thread | raw e-mail | index | archive | help
We received a PR that pointed out this section of the pthread_mutex_init(3)
manual page is not proper English:
[EAGAIN] The temporarily lacks the resources to create another
mutex.
I looked at the source code for it in:
-current /usr/src/lib/libpthread/thread/thr_mutex.c
-stable /usr/src/lib/libc_r/uthread/uthread_mutex.c
In both cases unless I'm missing something that error code will never
be returned.
Should I fix it to say "The system temporarily lacks a non-memory
resource to create another mutex" (which I got from a programming
book I had on hand) or should I remove the reference to that error
code?
Thanks.
--
Ken Smith
- From there to here, from here to | kensmith@cse.buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031001171807.GI12227>
