G
Guest
I have an application which run more than one thread at the sametime.
All those thread call same function (output function). How I lock this
function for other thread while one thread already use it.
in C# I done it by :
void output (String ff)
{
lock(this)
{
........
}
}
How to do that in VC++.Net ?
All those thread call same function (output function). How I lock this
function for other thread while one thread already use it.
in C# I done it by :
void output (String ff)
{
lock(this)
{
........
}
}
How to do that in VC++.Net ?