// Copyright (c) 2014 CEF Python, see the Authors file.
// All rights reserved. Licensed under BSD 3-clause license.
// Project website: https://github.com/cztomczak/cefpython
#include "task.h"
#include "include/wrapper/cef_closure_task.h"
#include "include/base/cef_bind.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