Re: Thread memory allocation issue

2024-11-24 Thread Mark Geisert via Cygwin
Hi Teemu, On 11/18/2024 10:59 PM, Teepean via Cygwin wrote: 2. Compile BWA with rpmalloc and the following patch: // In thread worker function: #ifdef __CYGWIN__ rpmalloc_thread_initialize(); #endif // ... thread work ... #ifdef __CYGWIN__ rpmalloc_thread_finalize(1); #endif How, exactly,

Re: Thread memory allocation issue

2024-11-18 Thread Teepean via Cygwin
> Given that the result of the investigation a couple years ago was, > essentially, no change to Cygwin's malloc*, why has the problem > manifested again recently?  Have you been benchmarking/testing all > along?  Can you be more specific about which recent Cygwin versions? The original executab

Re: Thread memory allocation issue

2024-11-18 Thread Mark Geisert via Cygwin
Hello Teepean, On 11/17/2024 11:32 AM, Teepean via Cygwin wrote: I raised this issue couple of years ago on cygwin-developer but now when the problem has manifested again with recent versions of Cygwin I decided to post this to general discussion list. This (main Cygwin) list is the correct

Thread memory allocation issue

2024-11-17 Thread Teepean via Cygwin
Hello! I raised this issue couple of years ago on cygwin-developer but now when the problem has manifested again with recent versions of Cygwin I decided to post this to general discussion list. Steps to Reproduce 1. Compile BWA normally https://github.com/lh3/bwa/ 2. Compile BWA with rpmall