Re: std::mutex bug: Windows handle growth
ASSI via Cygwin <[email protected]> Mon, 23 Mar 2026 17:43:36 +0100
| Newsgroups | gmane.os.cygwin |
|---|---|
| Message-ID | <[email protected]> |
Corinna Vinschen via Cygwin writes: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 > > Reading this bug report, wouldn't just defining > _GTHREAD_USE_MUTEX_INIT_FUNC for Cygwin have the same effect? Yes, but it would also use an initializer function instead of a static initializer. Whether that would have any noticeable performance impact is unclear, but w.r.t. POSIX it's clear that it's no problem to use a static initializer, just unspecified whether the destructor is trivial or not. These two issues should not be mixed up in one configuration item IMHO. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple