This is the mail archive of the
mailing list for the Cygwin project.
RE: sem_trywait returns EAGAIN (rather than returning -1 and setting errno)
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Andrew T. Schnable" <schnable at enteract dot com>,<cygwin at cygwin dot com>
- Date: Fri, 1 Mar 2002 08:57:02 +1100
- Subject: RE: sem_trywait returns EAGAIN (rather than returning -1 and setting errno)
> -----Original Message-----
> From: Andrew T. Schnable [mailto:email@example.com]
> returning -1 and setting errno)
> I think all the sem_* functions are broken similarly. I have
> the threads.cc file modified
> and was going to try and submit patches, but I am having some
> issues getting the regression tests working (even before I
> put my changes in...) A soon as I get these issues resolved
> and verify my fixes, I can try and submit
> a patch for everything (like all good cygwin users should!)
> (Unless of course you beat me to it - and at this rate - you will!)
> Thanks for helping me out with this.
No probs. Just drop the patch in , properly changelogged and formatted.
I'll eyeball it for regressions (The pthreads code is (mostly) trivial,
so I comfortable with this.). I/We'll need to write some new regression
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html