PoolFber scope

Options
BesoC
BesoC ✭✭
edited July 2013 in Photon Server
Hi

Considering the code:
[code2=csharp]class MyClass
{
private PoolFiber _execFiber;

public MyClass()
{
_execFiber = new PoolFiber();
_execFiber.Start();
}

public void PublicOperation()
{
_execFiber.Enqueue(()=>
{
// Do some staff here
PrivateOperation();
});
}

private void PrivateOperation()
{
//Do another staff here
PrivateOperation2();
}

private void PrivateOperation2()
{
//Do another staff here
}
}[/code2]
Will PrivateOperation and PrivateOperation2 run in _execFiber?

Comments