From: Enlightenment S. <no-...@en...> - 2009-08-26 06:00:10
|
Log: Added missing pthread guard Patch from Vincent Torri Author: lmunch Date: 2009-08-25 22:59:56 -0700 (Tue, 25 Aug 2009) New Revision: 42005 Modified: trunk/ecore/src/lib/ecore/ecore_thread.c Modified: trunk/ecore/src/lib/ecore/ecore_thread.c =================================================================== --- trunk/ecore/src/lib/ecore/ecore_thread.c 2009-08-26 05:14:08 UTC (rev 42004) +++ trunk/ecore/src/lib/ecore/ecore_thread.c 2009-08-26 05:59:56 UTC (rev 42005) @@ -159,8 +159,10 @@ if (!_ecore_thread_init) { /* FIXME: If function are still running in the background, should we kill them ? */ +#ifdef BUILD_PTHREAD ecore_event_handler_del(del_handler); del_handler = NULL; +#endif } return _ecore_thread_init; |