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

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Marc PERTRON
Henry Vermaak a écrit : On 23/03/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Hi, Anybody know how I can see the amount of threads running in a process under Linux? I don't mean programmatically in Free Pascal, I mean an external tool. Something like 'top' or 'ps aux' or Gnome System Moni

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Graeme Geldenhuys
Even easier, thanks. G. On 3/23/07, Henry Vermaak <[EMAIL PROTECTED]> wrote: ps -eLf gives you information about threads. the NLWP (number of threads) and LWP (thread ID) columns are added with the -L option. ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Henry Vermaak
On 23/03/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Hi, Anybody know how I can see the amount of threads running in a process under Linux? I don't mean programmatically in Free Pascal, I mean an external tool. Something like 'top' or 'ps aux' or Gnome System Monitor, etc.. ps -eLf giv

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Graeme Geldenhuys
Thank you! G. On 3/23/07, Jonas Maebe <[EMAIL PROTECTED]> wrote: Attach with gdb (gdb -p ) and type "info threads" Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] multi threading under Linux

2007-03-23 Thread Jonas Maebe
On 23 Mar 2007, at 09:11, Graeme Geldenhuys wrote: Anybody know how I can see the amount of threads running in a process under Linux? I don't mean programmatically in Free Pascal, I mean an external tool. Something like 'top' or 'ps aux' or Gnome System Monitor, etc.. Attach with gdb (gdb -

Re: [fpc-pascal] Multi-threading

2004-11-04 Thread Marco van de Voort
> Right now I'm downloading the latest stable release 1.0.10 of FPC. Note that 1.9.x is considered more stable than 1.0.10. It is more beta, simply because stability requirements have been stepped up. > Should I download/recompile something additionally to enable > multi-threading support s

Re: [fpc-pascal] Multi-threading

2004-11-04 Thread Florian Klaempfl
Aleksey Vaneev wrote: Hello, Right now I'm downloading the latest stable release 1.0.10 of FPC. Should I download/recompile something additionally to enable multi-threading support so that memory management and exception handling works fine with multi-threaded programs I create? 1.0.10 does