when creating a thread, must you always define it as a periodic or one_shot?
Is it legitimate to create a thread e.g.

void * loop_task(void *arg)
{
for (loopy=0;loopy<1000;loopy++);  
}

If so would this thread run until it has reached 1000 and then only then
allow other threads or interrupt handlers to run? Or are other higher
priority threads able to take control during the running of loop_task?

thanks to those who will help

---------
David


------------------------------------------------------------------------
 This email and any attachments are confidential and are for the
 use of the addressee only. If you are not the addressee, you must not
 use or disclose the contents to any other person. Please immediately
 notify the sender and delete the email. Statements and opinions
 expressed here may not represent those of the company.
 Email correspondence is monitored by the company.
 
 The parent company of the Renishaw Group is Renishaw plc, registered
 in England no. 1106260. Registered Office: New Mills, Wotton-under-Edge
 Gloucestershire, GL12 8JR, United Kingdom. Tel +44 (0) 1453 524524
 -----------------------------------------------------------------------

-- [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