| 278 | PyDoc_STRVAR(GetNumThreads__doc__, |
| 279 | "Gets a maximum number of threads to be used in operations.\n"); |
| 280 | static PyObject* |
| 281 | PyGet_num_threads(PyObject *self, PyObject *args) { |
| 282 | int n_thread; |
| 283 | |
| 284 | pthread_mutex_lock(&gs.global_mutex); |
| 285 | n_thread = gs.n_thread; |
| 286 | pthread_mutex_unlock(&gs.global_mutex); |
| 287 | return Py_BuildValue("i", n_thread); |
| 288 | } |
| 289 | |
| 290 | |
| 291 | Py_ssize_t numexpr_set_tempsize(Py_ssize_t newSize) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…