[fpc-pascal] Multi-Threading and usage of Semaphors under FPC

2009-09-11 Thread Graeme Geldenhuys
Hi, I had a previous discussion about Semaphores. Apparently my usage of them was not very good, because they were specific to the Linux system and Posix. Anyway, I was told it is better to use the ThreadManager. So how do I translate code as show below to using the FPC ThreadManager? I can see w

Re: [fpc-pascal] Multi-Threading and usage of Semaphors under FPC

2009-09-11 Thread Jonas Maebe
On 11 Sep 2009, at 16:40, Graeme Geldenhuys wrote: I had a previous discussion about Semaphores. Apparently my usage of them was not very good, because they were specific to the Linux system and Posix. Anyway, I was told it is better to use the ThreadManager. So how do I translate code as show