* ecore_thread: Prevent mutex lock, thanks to Sachiel.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 3 Aug 2009 08:19:33 +0000 (08:19 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 3 Aug 2009 08:19:33 +0000 (08:19 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@41564 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_thread.c

index 4512ab0..91265f5 100644 (file)
@@ -139,7 +139,7 @@ ecore_thread_init(void)
    if (_ecore_thread_init > 1) return _ecore_thread_init;
 
    _ecore_thread_count_max = eina_cpu_count();
-   if (_ecore_thread_count_max < 0)
+   if (_ecore_thread_count_max <= 0)
      _ecore_thread_count_max = 1;
 
    ECORE_THREAD_PIPE_DEL = ecore_event_type_new();