From: Thomas V. S. <tho...@us...> - 2002-08-13 14:11:46
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: thomasvs Date: Tue Aug 13 2002 07:11:45 PDT Log message: readable cleanups Modified files: gst : cothreads.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/cothreads.c.diff?r1=1.80&r2=1.81 ====Begin Diffs==== Index: cothreads.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/cothreads.c,v retrieving revision 1.80 retrieving revision 1.81 diff -u -d -r1.80 -r1.81 --- cothreads.c 13 Aug 2002 13:56:05 -0000 1.80 +++ cothreads.c 13 Aug 2002 14:11:33 -0000 1.81 @@ -567,7 +567,8 @@ /* find the number of the thread to switch to */ - GST_INFO (GST_CAT_COTHREAD_SWITCH, "switching from cothread #%d to cothread #%d", + GST_INFO (GST_CAT_COTHREAD_SWITCH, + "switching from cothread #%d to cothread #%d", ctx->current, thread->threadnum); ctx->current = thread->threadnum; @@ -577,12 +578,15 @@ #endif enter = setjmp (current->jmp); if (enter != 0) { - GST_DEBUG (GST_CAT_COTHREADS, "enter thread #%d %d %p<->%p (%d) %p", current->threadnum, enter, - current->sp, current->top_sp, (char*)current->top_sp - (char*)current->sp, current->jmp); + GST_DEBUG (GST_CAT_COTHREADS, + "enter thread #%d %d %p<->%p (%d) %p", + current->threadnum, enter, current->sp, current->top_sp, + (char*) current->top_sp - (char*) current->sp, current->jmp); return; } - GST_DEBUG (GST_CAT_COTHREADS, "exit thread #%d %d %p<->%p (%d) %p", current->threadnum, enter, - current->sp, current->top_sp, (char*)current->top_sp - (char*)current->sp, current->jmp); + GST_DEBUG (GST_CAT_COTHREADS, "exit thread #%d %d %p<->%p (%d) %p", + current->threadnum, enter, current->sp, current->top_sp, + (char*) current->top_sp - (char*) current->sp, current->jmp); enter = 1; if (current->flags & COTHREAD_DESTROYED) { |