~unity-team/unity-scopes-api/devel

Viewing all changes in revision 309.

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2014-04-28 11:14:53 UTC
  • mfrom: (273.1.33 async-create)
  • Revision ID: tarmac-20140428111453-2fe1h9f367lz8mg9
The scope search, activate, perform_action, and preview methods now return immediately instead of waiting for a response from the server. The returned QueryCtrl is a "fake" one: if cancel() is called on the returned QueryCtrl, the cancellation is remembered and sent once the corresponding create method in the scope has completed.

This change should be transparent to application code (other than that these methods now can no longer block).

Also added interlocks to QueryObject, so cancel() and run() see consistent data.

Fixed a number of race conditions during shutdown.

Approved by Michal Hruby, Pawel Stolowski, PS Jenkins bot, Marcus Tomlinson.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: