This could lead to some very long and unexpected pause as the timeout passed
to eina_condition_timedwait was passed as a absolute time instead of relative.
Hopefully we don't build rocket.
if ((ret) || (!seconds) || ((seconds > 0) && (tm <= ecore_time_get())))
break;
LKL(_ecore_thread_global_hash_mutex);
- CDW(_ecore_thread_global_hash_cond, tm);
+ CDW(_ecore_thread_global_hash_cond, tm - ecore_time_get());
LKU(_ecore_thread_global_hash_mutex);
}
if (ret) return ret->data;