From: Piotr Caban Subject: Re: [PATCH v2] msvcrt: Use already existent oneexit_table functions for _onexit and _c_exit Message-Id: <2edadd5e-5f42-d965-abc2-bd5b313aa077@gmail.com> Date: Mon, 18 Jun 2018 13:18:57 +0200 In-Reply-To: <20180617174819.17166-1-dark.shadow4@web.de> References: <20180617174819.17166-1-dark.shadow4@web.de> Hi Fabian, On 06/17/18 19:48, Fabian Maurer wrote: > -#define LOCK_EXIT _mlock(_EXIT_LOCK1) > -#define UNLOCK_EXIT _munlock(_EXIT_LOCK1) It's still needed to hold the exit lock. Older versions of msvcrt were doing it (I didn't test if newer versions are still using this lock). Thanks, Piotr