Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 4 comments
Closed

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

GoogleCodeExporter opened this issue Aug 28, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 6 Jun 2013 at 7:57

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 20 Jan 2014 at 8:49

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 22 May 2014 at 2:33

@GoogleCodeExporter
Copy link
Author

Fixed in revision a07c898cb1df.

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

Original comment by [email protected] on 9 Aug 2014 at 4:17

  • Changed state: Fixed

@cztomczak
Copy link
Owner

cztomczak commented Jul 5, 2017

Function PostDelayedTask was added in commit 7145ffa and will be available in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants