hi michal, > doesn't the 'main' thread exit before the other 2 threads are really > started? thanks for the fast answer but I just added a line 'while(1);' to the end of main(), so that main never stops by itself. and I still get the same error... could this be a kernel problem? I have 2.4.20 installed here. /christian