fix my coding style errors...

SVN revision: 46362
This commit is contained in:
Gustavo Sverzut Barbieri 2010-02-22 20:09:44 +00:00
parent 054da5beeb
commit 10b90e46c6
1 changed files with 7 additions and 6 deletions

View File

@ -174,13 +174,14 @@ _ecore_glib_select(int ecore_fds, fd_set *rfds, fd_set *wfds, fd_set *efds, stru
if (g_main_context_acquire(ctx))
g_mutex_lock(mutex);
else {
if (!_ecore_glib_cond)
_ecore_glib_cond = g_cond_new();
else
{
if (!_ecore_glib_cond)
_ecore_glib_cond = g_cond_new();
while (!g_main_context_wait(ctx, _ecore_glib_cond, mutex))
g_thread_yield();
}
while (!g_main_context_wait(ctx, _ecore_glib_cond, mutex))
g_thread_yield();
}
ret = _ecore_glib_select__locked
(ctx, ecore_fds, rfds, wfds, efds, ecore_timeout);