Click here to Skip to main content
15,887,952 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
To provide synchronization between threads the windows provide the critical section code.

i don't know how to do this.. can you help me by sending example code for that problems.........
Posted
Comments
Sergey Alexandrovich Kryukov 28-Jun-11 14:23pm    
What you do is almost spam. Please follow the advice my C Pallini.
--SA

Instead of posting again and again basic questions about synchronization objects, why don't you try to read the documentation: "Synchronization Objects"[^]?
 
Share this answer
 
Comments
@BangIndia 28-Jun-11 8:18am    
Thanks...............
Sergey Alexandrovich Kryukov 28-Jun-11 14:23pm    
Almost spamming from OP.
Agree with the answer, my 5.
--SA
Have you even tried a google search? Its not that hard really: try this[^]

If after reading the msdn entry and giving it a try you still have difficulties/questions - come back with a specific question - nobody here likes "give me example code" posts. Explain what you tried and what went wrong.
 
Share this answer
 
Comments
@BangIndia 28-Jun-11 9:59am    
ok..Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900