GitLab will be down for maintenance this Sunday 13th June, from approx 7-11am UTC. This is for a PostgreSQL migration. See the tracker issue for more informations.

Commit a92661f7 authored by Wim Taymans's avatar Wim Taymans
Browse files

Small cleanup

Original commit message from CVS:
Small cleanup
parent cc59aa17
......@@ -81,16 +81,17 @@ static GPrivate *_cothread_ctx_key;
cothread_context *
cothread_context_init (void)
{
/*
* initalize the whole of the cothreads context
*/
cothread_context *ctx;
/* if there already is a cotread context for this thread,
* just return it */
ctx = g_private_get (_cothread_ctx_key);
if(ctx) return ctx;
if (ctx)
return ctx;
/*
* initalize the whole of the cothreads context
*/
ctx = (cothread_context *) g_malloc (sizeof (cothread_context));
/* we consider the initiating process to be cothread 0 */
......
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