just a question:

Should semaphores be on the thread manager?

because imho they are not realy thread related? They can be used by threads, but they have lot's of other uses. Even communication between processes of different applications. They are usually grouped together with other IPC like msg-queues and shared-mem.

my 2 cent

Martin

Jonas Maebe wrote:

On 18 Sep 2009, at 11:42, Graeme Geldenhuys wrote:

Jonas Maebe het geskryf:

I guess you mean that there aren't any :)

True and False. :)  It was recommended to me that I use the methods
directly from the thread manager, then later it was not recommended.

It's because there is no cross-platform guarantee for any of the thread manager routines (i.c., the semaphore ones are only implemented for Unix platforms).


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

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

Reply via email to