View Single Post
  #8   Spotlight this post!  
Unread 16-02-2012, 23:48
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,169
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: 100 threads then robot code gets terminated

The operating system on the cRIO is vxWorks. The algorithm to select the next task/thread to run is constant order, in other words it doesn't care how many threads/tasks exist. My guess is that you are exhausting main memory somehow. What do all your threads do? It is hard to see the tulity of 100 threads on a FIRST robot.


HTH
__________________
Fast, cheap or working - pick any two!
Reply With Quote