mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Fixes suggested by thomasvs to get rhythmbox working with basic threads
Original commit message from CVS: Fixes suggested by thomasvs to get rhythmbox working with basic threads - int res; + int res = 0; - res = munmap ((void *) thread, COTHREAD_STACKSIZE); +/* res = munmap ((void *) thread, COTHREAD_STACKSIZE); */
This commit is contained in:
parent
8433fe5775
commit
7cc370b0bf
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ cothread_destroy (cothread_state *thread)
|
|||
else {
|
||||
/* this doesn't seem to work very well */
|
||||
/* munmap ((void *) thread, COTHREAD_STACKSIZE); */
|
||||
int res;
|
||||
int res = 0;
|
||||
|
||||
GST_DEBUG (GST_CAT_COTHREADS,
|
||||
"unmap cothread slot stack from %p to %p (size %ld)",
|
||||
|
@ -275,7 +275,7 @@ cothread_destroy (cothread_state *thread)
|
|||
(long) COTHREAD_STACKSIZE);
|
||||
GST_DEBUG (GST_CAT_COTHREADS, "doing an munmap at %p of size %d\n",
|
||||
thread, COTHREAD_STACKSIZE);
|
||||
res = munmap ((void *) thread, COTHREAD_STACKSIZE);
|
||||
/* res = munmap ((void *) thread, COTHREAD_STACKSIZE); */
|
||||
if (res != 0)
|
||||
{
|
||||
switch (res)
|
||||
|
|
Loading…
Reference in a new issue