On 26.09.2013 14:14, Hans-Peter Diettrich wrote:
Sven Barth schrieb:

Well, we do have a TThread.Yield procedure since the last time I
worked on TThread :)

What does it do on a DOS target?

Currently it will print this:

=== output begin ===

This binary has no thread support compiled in.
Recompile the application with a thread-driver in the program uses clause before other units using thread.

=== output end ===

This is the standard implementation of threading functions if no other thread manager is provided (TThread.Yield calls System.ThreadSwitch which calls TThreadManager.ThreadSwitch). Otherwise it will depend on the threading manager implemented... (see Nikolay's other mail)

Regards,
Sven

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to