seifzadeh / cefpython

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

Posting tasks on various threads (UI, IO, FILE) #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See CefPostTask(), CefPostTaskDelayed() in cef_task.h [1].

See NewCefRunnableFunction(), NewCefRunnableMethod() in cef_runnable.h [2].

These methods are required for Issue 62 to implement. It will be also
useful when doing IO processing, as it shouldn't be done on the UI
thread for performance reasons.

[1] 
https://code.google.com/p/cefpython/source/browse/cefpython/cef1/include/cef_tas
k.h?r=c9f33268d4c7
[2] 
https://code.google.com/p/cefpython/source/browse/cefpython/cef1/include/cef_run
nable.h?r=c9f33268d4c7

Original issue reported on code.google.com by czarek.t...@gmail.com on 6 Jun 2013 at 7:57

GoogleCodeExporter commented 9 years ago
Task and runnable in CEF 3:

https://code.google.com/p/cefpython/source/browse/cefpython/cef3/include/cef_tas
k.h
https://code.google.com/p/cefpython/source/browse/cefpython/cef3/include/cef_run
nable.h

Original comment by czarek.t...@gmail.com on 20 Jan 2014 at 8:49

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 22 May 2014 at 2:33

GoogleCodeExporter commented 9 years ago
Fixed in revision a07c898cb1df.

See [cefpython].`PostTask` on wiki. Example usage in the wxpython.py example on 
Windows.

Original comment by czarek.t...@gmail.com on 9 Aug 2014 at 4:17