TheSwamp

Code Red => .NET => Topic started by: Andrey Bushman on December 13, 2011, 09:08:27 AM

Title: Synchronization of Thread
Post by: Andrey Bushman on December 13, 2011, 09:08:27 AM
I have written a command which is marked by Session flag. My command works in an application context. How to make so that while my command won't complete the operation,  it would be impossible - context commands run in a document?

I tried to lock the document, but in a document context all the same on the console commands are sent.

It can is possible to receive somehow a flow which is fulfilled in a document context? Then it would be possible to pause for the period of it. But how it to receive? In my case the current flow is the flow working in a context of application.

Thanks