hust-marx / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Syncronous main thread function call #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Brief Description:

We need something like AsyncCall on BrowserHostWrapper that supports arbitrary 
functors; something that will store the functor, fire an async call to the main 
thread, use thread synchronization to wait for the call on the main thread to 
complete, and then return the result.

Use case:

Any time you want to call something on the browser from another thread.

Additional information:
There is a beta / unsupported / untested / not even admitted to anyone version 
of this on the Invoke commands on NPObjectAPI and IDispatchAPI

Original issue reported on code.google.com by taxilian on 28 Sep 2010 at 10:45

GoogleCodeExporter commented 9 years ago
This is working in the latest dev.

Original comment by taxilian on 6 Oct 2010 at 5:52