Re: [fpc-devel] Off-topic: Threadvar in C

2008-08-04 Thread Michael Schnell
man pthread_setspecific Thanks a lot googeling with that starting point brought up several pages describing " pthread "manage thread specific data" ". Thanks again, -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://list

Re: [fpc-devel] Off-topic: Threadvar in C

2008-08-01 Thread David W Noon
On Fri, 2008-08-01 at 14:14 +0200, Michael Schnell wrote: > Sorry to bother you by asking this here, but I don't know a better place. :( You could try Usenet: comp.os.linux.development.apps > I need to port a multi-threaded program in ANSI C. From a propriety OS > to Linux. > > Here the same c

[fpc-devel] Off-topic: Threadvar in C

2008-08-01 Thread Michael Schnell
Sorry to bother you by asking this here, but I don't know a better place. :( I need to port a multi-threaded program in ANSI C. From a propriety OS to Linux. Here the same code is started in multiple threads. The OS provides a global variable that is preloaded with a "thread number" of the r