From: Wim T. <wt...@us...> - 2003-04-19 11:50:41
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: wtay Date: Sat Apr 19 2003 04:50:40 PDT Log message: - removed an assert, mmaping the stack of another thread seems to work fine. This makes the cothread based scheduler work again with the new GstThread. Modified files: gst : cothreads.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/cothreads.c.diff?r1=1.108&r2=1.109 ====Begin Diffs==== Index: cothreads.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/cothreads.c,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- cothreads.c 1 Feb 2003 20:29:21 -0000 1.108 +++ cothreads.c 19 Apr 2003 11:50:27 -0000 1.109 @@ -221,7 +221,9 @@ unsigned long page_size; g_return_val_if_fail (ctx != NULL, NULL); - g_assert (ctx->thread == g_thread_self()); + + GST_DEBUG (GST_CAT_COTHREADS, "manager sef %p, cothread self %p", + ctx->thread, g_thread_self()); if (ctx->ncothreads == COTHREAD_MAXTHREADS) { /* this is pretty fatal */ |