JNIEXPORT jint JNICALL Java_org_puredata_core_PdBase_sendSysRealTime (JNIEnv *env, jclass cls, jint port, jint value) { pthread_mutex_lock(&mutex); int err = libpd_sysrealtime(port, value); pthread_mutex_unlock(&mutex); return err; }
void PdBase::sendSysRealTime(const int port, const int value) { libpd_sysrealtime(port, value); }
void PdBase::sendSysRealTime(const int port, const int value) { _LOCK(); libpd_sysrealtime(port, value); _UNLOCK(); }