[fpc-pascal] C thread callbacks

Wimpie Nortje wimpienortje at gmail.com
Wed Feb 17 09:41:55 CET 2010


I have a C library that uses threads. These threads use callbacks into 
my pascal for events. What must happen for the pascal events handlers to 
be able to safely access the main thread's resources?

This is the same situation where I would use TThread.Synchronize if the 
threads were TThread objects.

More information about the fpc-pascal mailing list