> > pthread_create (&rtldc_thread, &rtldc_attr, rtldc_Code, (void *)1); >
Humm, there's obviously more going on in your code. 2 things I can guess at right away. 1. Remember that your thread will start running right away after you call pthread_create(), so it could be the body of your thread code that is causing the probby. 2. Don't try to modify the memory pointed to by 'arg' in your thread body, you've passed a pointer to memory location 1 !!! -Dave i. -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
