* ecore: fix build without thread.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Jul 2010 14:39:06 +0000 (14:39 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 12 Jul 2010 14:39:06 +0000 (14:39 +0000)
NOTE: if you build ecore without pthread support, you really should know
that it is a bad idea. Only people without pthread support on their
device/C library should disable it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50200 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_thread.c

index 53958dd..a549930 100644 (file)
@@ -594,6 +594,8 @@ ecore_long_run(void (*func_heavy)(Ecore_Thread *thread, void *data),
 #else
    Ecore_Pthread_Worker worker;
 
+   (void) try_no_queue;
+
    /*
      If no thread and as we don't want to break app that rely on this
      facility, we will lock the interface until we are done.
@@ -643,7 +645,7 @@ ecore_thread_notify(Ecore_Thread *thread, const void *data)
 
    return EINA_TRUE;
 #else
-   worker->u.long_run.func_notify(thread, data);
+   worker->u.long_run.func_notify(thread, (void*) data, (void*) worker->data);
 
    return EINA_TRUE;
 #endif