From: David Schleef Date: Tue, 10 Dec 2002 03:59:15 +0000 (+0000) Subject: Added setting of _gst_debug_cothread_index for debugging X-Git-Tag: BRANCH-RELEASE-0_5_1-ROOT~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29f657f52ef45560a2daaeb44560595c528c77fd;p=platform%2Fupstream%2Fgstreamer.git Added setting of _gst_debug_cothread_index for debugging Original commit message from CVS: Added setting of _gst_debug_cothread_index for debugging --- diff --git a/gst/cothreads.c b/gst/cothreads.c index 5e4e6eb..32782d7 100644 --- a/gst/cothreads.c +++ b/gst/cothreads.c @@ -618,6 +618,8 @@ cothread_switch (cothread_state * thread) ctx->current, thread->cothreadnum); ctx->current = thread->cothreadnum; + g_static_private_set (&_gst_debug_cothread_index, (void *)ctx->current, NULL); + /* save the current stack pointer, frame pointer, and pc */ #ifdef GST_ARCH_PRESETJMP GST_ARCH_PRESETJMP ();