rem: void ECA_ENGINE::wait_for_stop(int timeout) {
add: void ECA_ENGINE::wait_for_stop(int timeout) { struct timeval now; gettimeofday(&now, 0); struct timespec sleepcount; sleepcount.tv_sec = now.tv_sec + timeout; sleepcount.tv_nsec = now.tv_usec * 1000;
context: void ECA_ENGINE::wait_for_stop(int timeout){  int ret = kvu_pthread_timed_wait(&impl_repp->ecasound_stop_mutex_repp, 				   &impl_repp->ecasound_stop_cond_repp, 				   timeout);  ecadebug->msg(ECA_DEBUG::info, 		kvu_pthread_timed_wait_result(ret, "(eca_main) wait_for_stop"));}