- removed an assert, mmaping the stack of another thread seems to work fine.

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.
This commit is contained in:
Wim Taymans 2003-04-19 11:50:27 +00:00
parent 0d48f56c8f
commit 5af24ec4e5

View 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 */