Hi all,

For my implementation, I need to create new threads, let them run for a 
little while and die, and then keep creating new ones. Given that I cannot
dynamically allocate memory within the RT context, I was thinking about 
having an array of pthread_ts, and cycling through it picking the first 
inactive thread when I needed a new one to create. But I cannot figure out 
how to find out, knowing only the thread handle, whether a thread is still 
alive (in which case I would want to leave it alone). Any suggestions?

Thanks,

Pablo Alvarez
-- [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/

Reply via email to