Hi all,
A long time ago -- 2008, I believe -- we fixed a pthreads-related memory
leak that affected Linux (and probably other *nixes) but not Windows.
It seems that the pthreads implementation in Windows is different in the
way things are cleaned up (or not) after a thread exits.
Anyway, at some later time a change was made in start_threads.c for
testing purposes. This change broke the memory-leak fix that was
required on *nix platforms. The test code has remained in place ever
since. It worked fine in Windows, but it re-introduced the memory leak
on *nix platforms.
I have reverted the relevant code to more or less its 2008 state.
Revision 4889 of WSPR 4.0 seems to run properly on both Windows and
Linux, without evident memory leaks.
If you were experiencing the problem discussed here, please test r4889
and report back.
-- Joe, K1JT
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel