PythonMonkey v0.9.1 (dev)
|
Implements the ECMAScript Job Queue. More...
#include "include/JobQueue.hh"
#include "include/modules/pythonmonkey/pythonmonkey.hh"
#include "include/PyEventLoop.hh"
#include "include/pyTypeFactory.hh"
#include "include/PromiseType.hh"
#include <Python.h>
#include <jsfriendapi.h>
#include <mozilla/Unused.h>
#include <stdexcept>
Functions | |
bool | sendJobToMainLoop (PyObject *pyFunc) |
Send job to the Python event-loop on main thread (Thread-Safe) | |
Implements the ECMAScript Job Queue.
bool sendJobToMainLoop | ( | PyObject * | pyFunc | ) |
Send job to the Python event-loop on main thread (Thread-Safe)
pyFunc | - the Python job function |