Added setting of _gst_debug_cothread_index for debugging

Original commit message from CVS:
Added setting of _gst_debug_cothread_index for debugging
This commit is contained in:
David Schleef 2002-12-10 03:59:15 +00:00
parent b423eeb18c
commit 29f657f52e

View file

@ -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 ();