From cc682cae6c4a0f382aea82a38654460eafe742b0 Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Sat, 29 Jun 2002 16:26:47 +0000 Subject: [PATCH] commented out the munmap stuff again Original commit message from CVS: commented out the munmap stuff again --- gst/cothreads.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gst/cothreads.c b/gst/cothreads.c index 8666770d27..8d3cd55a9f 100644 --- a/gst/cothreads.c +++ b/gst/cothreads.c @@ -293,7 +293,9 @@ cothread_destroy (cothread_state *thread) g_free (thread); } else { - int res; + /* int res; + * Replaced with version below until cothreads issues solved */ + int res = 0; /* doing cleanups of the cothread create */ GST_DEBUG (GST_CAT_COTHREADS, "destroy cothread %d with magic number 0x%x", @@ -315,7 +317,8 @@ cothread_destroy (cothread_state *thread) "munmap cothread slot stack from %p to %p (size 0x%lx)", thread, thread + COTHREAD_STACKSIZE, (long) COTHREAD_STACKSIZE); - res = munmap (thread, COTHREAD_STACKSIZE); +/* res = munmap (thread, COTHREAD_STACKSIZE); + * Commented out waiting for resolution for cothread issue */ if (res != 0) { switch (res)