Commit f5121d14 authored by Frediano Ziglio's avatar Frediano Ziglio Committed by Frediano Ziglio
Browse files

coroutine: Fix indentation



These files use tabs instead of spaces, fix indentation.
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <freddy77@gmail.com>
Acked-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
parent 515a84ba
......@@ -45,8 +45,8 @@ struct coroutine
#if WITH_UCONTEXT
struct continuation cc;
#elif WITH_WINFIBER
LPVOID fiber;
int ret;
LPVOID fiber;
int ret;
#else
GThread *thread;
gboolean runnable;
......
......@@ -112,7 +112,7 @@ static void *coroutine_swap(struct coroutine *from, struct coroutine *to, void *
CO_DEBUG("LOCK");
g_mutex_lock(&run_lock);
while (!from->runnable) {
CO_DEBUG("WAIT");
CO_DEBUG("WAIT");
g_cond_wait(&run_cond, &run_lock);
}
current = from;
......@@ -152,5 +152,5 @@ void *coroutine_yield(void *arg)
gboolean coroutine_is_main(struct coroutine *co)
{
return (co == &leader);
return (co == &leader);
}
......@@ -107,7 +107,7 @@ void *coroutine_yield(void *arg)
gboolean coroutine_is_main(struct coroutine *co)
{
return (co == &leader);
return (co == &leader);
}
/*
* Local variables:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment