This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/16248] [3.5 Regression] recent concurrence.h chanes breaks mingw bootstrap


------- Additional Comments From membar at gcc dot gnu dot org  2004-06-29 18:33 -------
Hi Per,

The pointer vs. reference thing is just some beautification which my itchy 
fingers couldn't help doing - I agree that it's not germane to the problem at 
hand.

If you look at the comments for the class in question (and also all occurrences 
of the code that use this class), you see that the mutex is assumed to already 
be initialized - it's sufficient to lock the mutex without doing any 
initialization on it. That's why I created and used a new macro called 
__glibcxx_mutex_lock_noinit for this purpose.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16248


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