mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
- 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:
parent
0d48f56c8f
commit
5af24ec4e5
1 changed files with 3 additions and 1 deletions
|
@ -221,7 +221,9 @@ cothread_create (cothread_context *ctx)
|
||||||
unsigned long page_size;
|
unsigned long page_size;
|
||||||
|
|
||||||
g_return_val_if_fail (ctx != NULL, NULL);
|
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) {
|
if (ctx->ncothreads == COTHREAD_MAXTHREADS) {
|
||||||
/* this is pretty fatal */
|
/* this is pretty fatal */
|
||||||
|
|
Loading…
Reference in a new issue