Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   How does Synchronized initialize semaphores? (http://www.chiefdelphi.com/forums/showthread.php?t=72980)

360skier 01-26-2009 06:07 PM

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)?


All times are GMT -5. The time now is 10:30 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi