Re: [fpc-devel]TThread hara-kiri

2003-11-13 Thread KJK::Hyperion
At 18.15 13/11/2003, you wrote: And another thing to discuss is Suspend()/Resume() which isn't really possible on posix-compliant systems, you can send a signal to the target thread (pthread_kill), handled by waiting indefinitely on a semaphore created by BeginThread and associated (pthread_sets

Re: [fpc-devel]TThread hara-kiri

2003-11-13 Thread Peter Vreman
>> Please no more clone() :-) > > BeginThread uses pthread_create :-) > Btw -- shouldn't tthread.inc then be moved to inc/ instead of {sys}/? It > would probably be platform-independent itself if using BeginThread. > Ofcourse. That is the whole point of making tthread.inc dependent on SysThrds. Th

Re: [fpc-devel]TThread hara-kiri

2003-11-13 Thread Johannes Berg
> Please no more clone() :-) BeginThread uses pthread_create :-) Btw -- shouldn't tthread.inc then be moved to inc/ instead of {sys}/? It would probably be platform-independent itself if using BeginThread. And another thing to discuss is Suspend()/Resume() which isn't really possible on posix-com

Re: [fpc-devel]TThread hara-kiri

2003-11-13 Thread Marco van de Voort
> > TThread needs to be rewritten to use the functions from SysThrds unit. > > Interestingly I just noticed the same thing as the original writer, and > also identified the problems. Only problem was that I was unable to send > mail, those mails are still stuck on my computer. In any case, I'm > o

Re: [fpc-devel]TThread hara-kiri

2003-11-13 Thread Johannes Berg
Hi, > TThread needs to be rewritten to use the functions from SysThrds unit. Interestingly I just noticed the same thing as the original writer, and also identified the problems. Only problem was that I was unable to send mail, those mails are still stuck on my computer. In any case, I'm offering

Re: [fpc-devel]TThread hara-kiri

2003-11-13 Thread Peter Vreman
>> Does the example program threads.pp (doc/examples/fcl/threads.pp) work >> for >> anybody under Linux? >> >> It aborts for me as soon as the first thread is created, printing >> "Killed". > > When I compile it with 1.9.1 I get the same effect - program is > immediately killed (the message "Killed

Re: [fpc-devel]TThread hara-kiri

2003-11-12 Thread Michalis Kamburelis
Pedro Lopez-Cabanillas wrote: Hi, Does the example program threads.pp (doc/examples/fcl/threads.pp) work for anybody under Linux? It aborts for me as soon as the first thread is created, printing "Killed". Regards, Pedro When I compile it with 1.9.1 I get the same effect - program is immediate

[fpc-devel]TThread hara-kiri

2003-11-12 Thread Pedro Lopez-Cabanillas
Hi, Does the example program threads.pp (doc/examples/fcl/threads.pp) work for anybody under Linux? It aborts for me as soon as the first thread is created, printing "Killed". Regards, Pedro -- ALSA Library Bindings for Pascal http://alsapas.alturl.com __