jonas.maebe at elis.ugent.be
Mon Apr 20 12:04:25 CEST 2009
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
>>> 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
>> 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).
More information about the fpc-pascal