View Single Post
  #1   Spotlight this post!  
Unread 01-26-2009, 06:07 PM
360skier 360skier is offline
RTFM!!
AKA: Eric A.
FRC #1334 (Red Devils)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Oakville, Ontario
Posts: 45
360skier is an unknown quantity at this point
How does Synchronized initialize semaphores?

I am writing our robot code such that the camera processing is done in a separate task from the rest of the robot. However, I need to share some code between the two tasks. So I looked at the Synchronized class. It all appears to make sense, except that there is no call to a semaphore creation method. The VxWorks documentation makes it quite clear that one of these functions is vital to proper semaphore operation. So, do I need to make that call myself, or is it done elsewhere (not in Synchronized)?
Reply With Quote