Exemple #1
0
static PyObject* osl_waitVSync(PyObject *self,
                               PyObject *args,
                               PyObject *kwargs)
{
    if (!PyArg_ParseTuple(args, ":waitVSync"))
        return NULL;

    oslWaitVSync();

    Py_INCREF(Py_None);
    return Py_None;
}
Exemple #2
0
void SoundWaitTerm()		{
	//Wait the old thread to be deleted
	while (soundRunning != -1 && !osl_quit)
		oslWaitVSync();
}