laserwave
May 13th, 2009, 01:33 AM
Hello All,
I have three functions f1(),f2(),f3()
if I enter in
f1()
{
}
f2() and f3() should blocked till f1() executes completley
f2()
{
lock
unlock
}
f3()
{
lock
unlock
}
I tried EnterCritical section but not on mark.
What would be best way to achieve it ? I don't want to use global
I have three functions f1(),f2(),f3()
if I enter in
f1()
{
}
f2() and f3() should blocked till f1() executes completley
f2()
{
lock
unlock
}
f3()
{
lock
unlock
}
I tried EnterCritical section but not on mark.
What would be best way to achieve it ? I don't want to use global