On 5/30/2024 11:15 AM, Bruno Haible wrote:
Still: Does ReleaseSRWLockExclusive notify other threads?
Of course? How else would a lock work, it must release other waiters?
It might not be a fair lock though, which is not a problem for this situation,
which does not require fair locking.
On 5/30/2024 10:47 AM, Bruno Haible wrote:
SRW locks are spin-locks. Since they are only pointer-sized,
ReleaseSRWLockExclusive cannot notify other threads — unlike CRITICAL_SECTION.
Therefore, AcquireSRWLockExclusive must busy-loop when the lock is already
held.
No, they only spin briefly,
On 2021/11/18 3:19 pm, Corinna Vinschen via Cygwin wrote:
My patch raised NDEC from 43 to 1023 to allow aproximately the same
number of digits as glibc. Newlib strives to support embedded targets
and bare metal. Some of them are lucky if they have a stack size of 1K.
The outbuf buffer is cre
There are a bunch of different possibilities
(*) temporary files - there was an improvement here in recent cygwin versions which means that if your machine has lots
of memory and your program creates lot of temporary files, then it will now be significantly faster
(*) file name lookup - linux
On 2021/04/01 6:02 pm, Ken Brown via Cygwin wrote:
Here's the issue, briefly. The communication is done via a Windows named pipe. The receiver creates the pipe when it
creates and binds its socket. It creates only one pipe instance. The sender connects to the pipe, writes, and closes
its h
On 2021/01/10 12:16 am, Brian Inglis wrote:
For more about Windows limitations and alternatives see:
https://www.boost.org/doc/libs/1_75_0/doc/html/interprocess/sharedmemorybetweenprocesses.html#interprocess.sharedmemorybetweenprocesses.sharedmemory.emulation
For the specific case of int
On 2021/01/06 11:44 am, Mark Geisert wrote:
Hi Noel,
That looks like a bug to me, unless I'm missing something subtle there; I'll
submit a patch and find out.
Thanks!
Cool thanks!
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documenta
Hi
Does the cygwin
tempfile()
API use the Win32
FILE_ATTRIBUTE_TEMPORARY
flag on the files it creates?
Asking because that makes a fairly significant performance difference when
creating very short lived temp files.
Thanks, Noel Grandin
--
Problem reports: https://cygwin.com/prob
8 matches
Mail list logo