Debian Patches

Status for snap-aligner/2.0.5+dfsg-2

Patch Description Author Forwarded Bugs Origin Last update
non-x86-and-kfreebsd.patch Uses more liberal CPP defines to add compatibility to kfreebsd & non-x86 systems Michael R. Crusoe <crusoe@ucdavis.edu> and Aaron M. Ucko <ucko@debian.org> no
drop-msse.patch drop SSE flag, not needed for AMD64 and x32 and limits portability according to Aaron M. Ucko <ucko@debian.org> Michael R. Crusoe yes
simde.patch Enable building on non-x86 systems Michael R. Crusoe <crusoe@debian.org> yes
spelling.patch Fix a typo Michael R. Crusoe <crusoe@debian.org> yes
detach-threads.patch Detach threads created in StartNewThread to stop leaking thread stacks
On POSIX, `StartNewThread` created joinable threads that are never
joined or detached. `tests/EventTest.cpp` spawns ~23,700 such threads
across the "many waiters"/"single waiters" tests; each finished thread
keeps its ~8 MB stack until process exit, so `unit_tests` accumulates
~190 GB of virtual memory.

The codebase never joins threads (all completion is signaled via
`SingleWaiterObject`/counters), and the Windows `StartNewThread`
already effectively detaches (`CreateThread` + `CloseHandle`), so this
just brings Linux in line. Detached threads run to completion exactly
as before.
Santiago Vila <sanvila@debian.org> no debian

All known versions for source package 'snap-aligner'

Links