Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mutual Exclusion - quick question

Status
Not open for further replies.

Jen53403

Programmer
Jul 17, 2006
22
Sorry if this is a bad question, but I'm trying to implement some mutual exclusion between processes in C++. I'm aware of the acquire() and enterCriticalSection() functions which are supposed to accomplish this, but I get an error saying these functions are undefined when I try either of them. I assume I'm missing a .h file or something. Do I have to create an instance of a class, or can I just include whatever .h file I need, and what .h file is that? Thanks so much.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top