This is the mail archive of the 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: [Patch]: Timer functions

At 12:13 AM 3/4/2005 -0500, Christopher Faylor wrote:
>On Thu, Mar 03, 2005 at 11:45:45PM -0500, Pierre A. Humblet wrote:
>>- the mu_to was not reinitialized on forks (non-inheritable event).
>I just spent at least ten minutes looking for a "mu_to" in cygwin,
>trying to figure out what you were referring to.  I'm not sure why
>you're putting an underscore in the middle there.  Maybe you're thinking
>that the "mu" and "to" have separate meanings but they really don't.

Good question. Perhaps because it was late and there is an _ before
the muto in new_muto.

>Did you actually see mutos not getting created?  Looking at the code
>now, it seems like there would be a new muto created every time
>there is a new instance of timer_tracker, which was certainly wrong but
>it is different from mutos not being created after a fork.

As far as I could see, the muto was only created by the constructor of
ttstart and not recreated after a fork. But perhaps you are right and it
was created every time. At any rate it should be OK now.


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