FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/cefpython/cef3/client_handler/task.cpp at cefpython31 · cleverphp/cefpython · GitHub
cleverphp
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
cefpython
/
cef3
/
client_handler
/
task.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (15 loc) · 649 Bytes
Breadcrumbs
cefpython
/
cefpython
/
cef3
/
client_handler
/
task.cpp
Copy path
File metadata and controls
17 lines (15 loc) · 649 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
//
License: New BSD License.
//
Website: http://code.google.com/p/cefpython/
#
include
"
task.h
"
#
include
"
include/cef_runnable.h
"
void
PostTaskWrapper
(
int
threadId,
int
taskId) {
//
Calling CefPostDelayedTask with 0ms delay seems to give
//
better responsiveness than CefPostTask. In wxpython.py
//
on Windows the freeze when creating popup window feels
//
shorter, when compared to a call to CefPostTask.
CefPostDelayedTask
(
static_cast
<CefThreadId>(threadId),
NewCefRunnableFunction
(&PyTaskRunnable, taskId),
0
);
}
Back
|
FazBrowse Home
|
New Git URL