Thread: Threading
View Single Post
  #7   Spotlight this post!  
Unread 19-01-2009, 14:18
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
Re: Threading

Thanks for your help Shinigami. Here's what I have found. If you start a task in an init function it is deleted when the init function ends. It appears the task thinks its a local object but when I try to put the definition as a global I get an error "error: expected `,' or `...' before string constant". Does anybody know how to make it global (I will experiment and post the answer if I figure it out.)
Reply With Quote