LKL(_ecore_pending_job_threads_mutex);
retry:
- if (PHC(thread, _ecore_thread_worker, NULL) == 0)
+ if (PHC(thread, _ecore_thread_worker, NULL))
{
_ecore_thread_count++;
LKU(_ecore_pending_job_threads_mutex);
eina_threads_init();
retry_direct:
- if (PHC(t, _ecore_direct_worker, worker) == 0)
+ if (PHC(t, _ecore_direct_worker, worker))
return (Ecore_Thread *)worker;
if (!tried)
{
LKL(_ecore_pending_job_threads_mutex);
retry:
- if (PHC(thread, _ecore_thread_worker, NULL) == 0)
+ if (PHC(thread, _ecore_thread_worker, NULL))
{
_ecore_thread_count++;
LKU(_ecore_pending_job_threads_mutex);
eina_threads_init();
- if (PHC(t, _ecore_direct_worker, worker) == 0)
+ if (PHC(t, _ecore_direct_worker, worker))
return (Ecore_Thread*) worker;
eina_threads_shutdown();