Using the following code sample:
public byte[] Get()
{
// <= Possible to switch Here??
lock(syncLock)
{
//Do something in Get().
}
}
It is possible for a thread switch to happen after a method is entered, but
before the first line of code in the method? I am thinking it is. tia
--
William Stacey, DNS MVP
public byte[] Get()
{
// <= Possible to switch Here??
lock(syncLock)
{
//Do something in Get().
}
}
It is possible for a thread switch to happen after a method is entered, but
before the first line of code in the method? I am thinking it is. tia
--
William Stacey, DNS MVP
Comment