Quick testfeedback...

Christopher Faylor cgf@cygnus.com
Wed Sep 12 17:40:00 GMT 2001


On Thu, Sep 13, 2001 at 08:44:07AM +1000, Robert Collins wrote:
>Also the code there is a little arcane.
>
>for example, the while loop on line 85 looks like it can only ever
>execute once - either it jumps to gotoit, or returns 0. So why a loop
>construct?

That could well be what we in the arcane software industry call "a
typo".  As you can see, in this case, the difference between a while and
an if is inconsequential.  The 'while' harkens back to earlier code.

In any event (no pun intended), I was not necessarily suggesting that
mutos should be used.  As I said, they are not general purpose enough
for that.

I based mutos on a couple of articles that I found on the web which
dealt with rolling your own critical section-like objects.  Maybe we
could use some of those techniques, someday.

cgf



More information about the Cygwin-developers mailing list