Author Topic: Synchronization of Thread  (Read 1511 times)

0 Members and 1 Guest are viewing this topic.

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Synchronization of Thread
« 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
« Last Edit: December 13, 2011, 09:18:33 AM by Andrey »