On Sat, 30 May 2009 12:55:14 +1000
SteveG <ste...@nevets.com.au> wrote:

> Would appreciate anybody clearing this up for me - 
> 
> If I use a TTimer on a GUI form to call a function, is the function
> within the Main thread at all times (therefore gui threadsafe) ?

yes

 
> If the above function then calls a function within a library, is the
> call still within the main thread (still safe) ?

Yes.
Unless the library starts another thread.

 
> and as a completely non-related question, does fpc/laz have a cross 
> platform 'shared memory' component/function at the moment ?

Shared between what? Processes, libraries, computers?

Mattias

_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to