[fpc-devel] Threads and alot of crap continued

Michael Schnell mschnell at lumino.de
Wed Nov 8 11:01:45 CET 2006


>>> I even call the callback of another thread. :P
>>>       
>> No you can't.
>>     
>
> You still refuse to tell me why, so please stop telling me what I can't 
> do, especially when I *am* doing it. 
Of course you can call any callback that exists in the application from 
anywhere else in the application independently from in which thread 
context you actually are running. But doing  a function call (or hence 
using a callback) does not change the thread context you are running in 
and thus you are still the same thread. IOW: code lines are not 
_dedicated_ to a thread context.

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20061108/23ea6681/attachment.html>


More information about the fpc-devel mailing list