[fpc-devel] POSIX threads and classes

Bram Kuijvenhoven kuifwaremailinglists at xs4all.nl
Mon May 7 17:33:29 CEST 2007


Артем Смирнов wrote:
> I've got some troubles with pthread_cond_init when calling it in class 
> members. After this action next calling of class constructor for second 
> object bring to SIGSEGV. When I tried to use Object instead Class all 
> seems fine, but for my task Object not approach. What it can be?

Please specify your OS and FreePascal version. Your program works fine on my config (FPC 2.0.4, Debian Sarge, libc6 package version 2.3.2.ds1-22sarge6 (pthreads is part of the libc6 package)).

Bram



More information about the fpc-devel mailing list