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] |
On Wed, Feb 11, 2004 at 11:08:57AM +0100, Thomas Pfaff wrote:
The __sinit call must be done after malloc is initialized, otherwise the mutex creation will fail.
I am not comfortable with this part of the patch. I moved the __sinit call where I did for a reason. It needed to be called earlier in the process. I'm also somewhat uncomfortable with using malloc for this purpose in general. It seems like a heavyweight solution to something that could be solved with either a muto or a critical section.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |