MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / incCounter

Method incCounter

include/PyEventLoop.hh:281–284  ·  view source on GitHub ↗

* @brief Increment the counter for the number of our job functions in the Python event-loop */

Source from the content-addressed store, hash-verified

279 * @brief Increment the counter for the number of our job functions in the Python event-loop
280 */
281 inline void incCounter() {
282 _counter++;
283 Py_XDECREF(PyObject_CallMethod(_queueIsEmpty, "clear", NULL)); // _queueIsEmpty.clear()
284 }
285
286 /**
287 * @brief Decrement the counter for the number of our job functions in the Python event-loop

Callers 3

enqueueMethod · 0.80
toJsPromiseMethod · 0.80
addRefMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected