Re: [fpc-pascal] CRelocateThreadVar called from fpc_pushexceptaddr/fpc_popaddrstack

2010-09-09 Thread Jonas Maebe
On 09 Sep 2010, at 20:38, Seth Grover wrote: > The documentation > (http://www.freepascal.org/docs-html/prog/progse46.html) indicates > that "RelocateThreadVar is called each time when a thread is started, > and once for the main thread." > > Is it not called much more frequently than this? Yes

[fpc-pascal] CRelocateThreadVar called from fpc_pushexceptaddr/fpc_popaddrstack

2010-09-09 Thread Seth Grover
The documentation (http://www.freepascal.org/docs-html/prog/progse46.html) indicates that "RelocateThreadVar is called each time when a thread is started, and once for the main thread." Is it not called much more frequently than this? I was doing some profiling with valgrind and noticed that every