Re: [fpc-devel] Threads and alot of crap

2006-10-16 Thread Ales Katona
I've implemented the semaphores stuff (with a big bad bug, btw thanks Jonas for fixing). Right now I'm thinking about how to go next. The choices I see right now are: 1. Basicly just clean the current pthreads implementation, make sure types are not redefined in baseunix/unixtypes and pthreads

Re: [fpc-devel] Threads and alot of crap

2006-10-16 Thread Daniël Mantione
Op Mon, 16 Oct 2006, schreef Ales Katona: Write your ideas on the subject please. Short answer: Kick pthreads and use kernel threads. Daniël___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Threads and alot of crap

2006-10-16 Thread Jonas Maebe
On 16 Oct 2006, at 22:21, Daniël Mantione wrote: Op Mon, 16 Oct 2006, schreef Ales Katona: Write your ideas on the subject please. Short answer: Kick pthreads and use kernel threads. I would only do that once the pthreads stuff is overhauled, since it requires separate and thus extra

Re: [fpc-devel] Threads and alot of crap

2006-10-16 Thread Ales Katona
On po , 2006-10-16 at 22:21 +0200, Daniël Mantione wrote: Op Mon, 16 Oct 2006, schreef Ales Katona: Write your ideas on the subject please. Short answer: Kick pthreads and use kernel threads. That's a nice idea but there are a few problems. Kernel threads for example in freeBSD require

Re: [fpc-devel] Threads and alot of crap

2006-10-16 Thread Michael Van Canneyt
On Mon, 16 Oct 2006, Daniël Mantione wrote: Op Mon, 16 Oct 2006, schreef Ales Katona: Write your ideas on the subject please. Short answer: Kick pthreads and use kernel threads. They only exist on newer kernels, so at least the current implementation should be kept as an option for

Re: [fpc-devel] Threads and alot of crap

2006-10-16 Thread Daniël Mantione
Op Mon, 16 Oct 2006, schreef Ales Katona: On po , 2006-10-16 at 22:21 +0200, Daniël Mantione wrote: Op Mon, 16 Oct 2006, schreef Ales Katona: Write your ideas on the subject please. Short answer: Kick pthreads and use kernel threads. That's a nice idea but there are a few