On 20 Apr 2009, at 11:41, Marco van de Voort wrote:

In our previous episode, Michael Van Canneyt said:
No, the thread manager is only for internal use by the RTL, and may lack implementations for functions not required by the RTL for a particular
platform. See http://bugs.freepascal.org/view.php?id=11206

That was definitely not the original intention of the thread manager.

The idea was to have low-level thread related functions available without
classes, including semaphores.

I cannot remember that either. I can remember something about
beginthread/endthread being kept because of backwards compat, but not
because of a great all-procedural api.

beginthread/endthread are part of a general procedural api for thread programming (they also exist in Kylix, afaik). It just was never really fleshed out. I was only talking about recommending the use of the thread manager directly (even as a workaround).


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

Reply via email to