This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getsem cleanup


On Tue, Jan 08, 2002 at 09:11:00AM +1100, Robert Collins wrote:
>
>===
>----- Original Message -----
>From: "Christopher Faylor" <cgf@redhat.com>
>
>> If I'm reading the patch correctly, it changes the behavior of cygwin
>so
>> that cygwin will output an error in the case of a failing
>OpenSemaphore.
>> That's not right.  The current behavior is correct.  The only time you
>> should see an error is when the process is creating a semaphore for
>> itself.  It should always be able to do that.
>>
>> I'll clean up the code in getsem a little to make this more obvious.
>
>Ok. I thought there was a bug because the error line has
>p ? "open" : "create" :}

That's a holdover from earlier code.

>Te error line only goes to strace in any event...

system_printf goes to the screen.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]