projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b423eeb
)
Added setting of _gst_debug_cothread_index for debugging
author
David Schleef
<ds@schleef.org>
Tue, 10 Dec 2002 03:59:15 +0000
(
03:59
+0000)
committer
David Schleef
<ds@schleef.org>
Tue, 10 Dec 2002 03:59:15 +0000
(
03:59
+0000)
Original commit message from CVS:
Added setting of _gst_debug_cothread_index for debugging
gst/cothreads.c
patch
|
blob
|
history
diff --git
a/gst/cothreads.c
b/gst/cothreads.c
index 5e4e6eb040b0d828e19a11016d9a2d9a5d5d22bd..32782d74b44bd653ede185a17547cc23074edf66 100644
(file)
--- 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 ();