- removed an assert, mmaping the stack of another thread seems to work fine.
authorWim Taymans <wim.taymans@gmail.com>
Sat, 19 Apr 2003 11:50:27 +0000 (11:50 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 19 Apr 2003 11:50:27 +0000 (11:50 +0000)
Original commit message from CVS:
- 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.

gst/cothreads.c

index 17944ab..70749e9 100644 (file)
@@ -221,7 +221,9 @@ cothread_create (cothread_context *ctx)
   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 */