Jonas wrote:
>
> >> I am experiencing a weird issue regarding threading and shared libraries
> >> under Linux. I've boiled it down to a very simple test case in hopes you
> >> can help me understand what I'm doing wrong.
>
> >You're not doing anything wrong. It's caused by
> >http://bugs.freepasca
Seth Grover wrote on Thu, 10 Dec 2015:
I am experiencing a weird issue regarding threading and shared libraries
under Linux. I've boiled it down to a very simple test case in hopes you
can help me understand what I'm doing wrong.
You're not doing anything wrong. It's caused by
http://bugs.f
On 2015-12-10 21:26, Seth Grover wrote:
> Why does using the default memory manager seem to leak memory like crazy if
> I'm doing heavy threading? I'm setting FreeOnTerminate to true in
> conjunction
I can confirm similar behaviour under 64-bit FreeBSD 10.1. Compiled
without cmem is ends up using
Interesting: playing around with it some more, if I put an empty try/except
block inside my library's function from the example I posted, it leaks the
memory whether or not I'm using cmem.
-SG
--
Seth Grover
Be kind to all of your neighbors
Because they're just like you.
And you're nothing speci
I am experiencing a weird issue regarding threading and shared libraries
under Linux. I've boiled it down to a very simple test case in hopes you
can help me understand what I'm doing wrong.
I'm running this test with FPC 3.0 (built from source) on x86_64 Debian
Linux.
First, I have this shared l