[MPlayer-dev-eng] pthread error on NetBSD

Alex Beregszaszi alex at fsn.hu
Wed Jan 28 10:02:17 CET 2004


X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; powerpc-unknown-linux-gnu)
X-Face: P)#=xu8^x,lX at 8R?j-t>t]I-rBy@#DCg-z}h4=A&UnH$*ai6L#o)jSFqw39X#:+Cu^Df`8J
 Hi`<0;jVqB8IlM:EVC0qYIH<WaL5D4Z?W]aAkZx+M)$h{<~1`fP?\DllJ3svw]9vQ[$#/>O"`dOnRL
 dWh}`EV|"@RPB*n'#?ky`!"VT)"L|Erm5]TTDHRBK"#9VeQNkT5[we0vGREjIUInyZOvbmRG
X-ColorFace: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWjMD3IjWS7SFCphEciCQtfNDbboovGaF/Zw9DAn48BgvVSAAACaklEQVR4nH2UUW+bMBCALU+szxYS2t6QpcavRQiepwneLcKp7aOLdKRvCKm4r0u1xHncoq7tv90ZSJtE0w5icvf5zj5zB0vPBGZhee7VxNAvSfPGK8IPLBEYIaYG/SOnkR4kKfMmNKkxZIlyFJGIsEHTMPIy5+ukSZiy6Y+gmakRIhEHNoG8oXjC0B2ZPDwC/5AZiNAHScIw9dcHSFDQhRGtYpqzUMk4hj7NCdz/eZsEJ7mfVebexavvyu4AXuazW76dgC2AVmhtz3RQvY6mEazrUlmLaPvW9gG8HsBTraVVFnupaPUWRuJB/d1Kq3nMvH2FgV5O4BkWvcIuqDh5Icb8Em5GAKqVC2wXq7WUFKmzrXdhbg1S8kfXXq8c7QyVbcn7jbb7syw1DqsNG5Bi0Wp2MOyWMn8GUHePuNWq42SVnULHgMBlFQB32xguaK6VqhvQcbhlLqu4ZtxeBMOA2AeLvl25T1RXrtNMaxkPvCXc8sESWNYEfleUnI0plRgYo327YXtVEHipUPNedaqNGbDPQ+s2XVYS2AVfoJJSqodLiqkv7GPL6qKkzLMKdKCkZX0M+triwKAoCubwOQANSqqVewAgEAe1BxvzFQIoecwHvJNBJSd7wVCke3ql2rcEp7cEMNrJg8poXxP5RhG5hnqyE/BFtM/GSqihLA7CfkwlmtXFqTA3VeSVdyg/KOXRzODUgTJ/GkF2Cvzpuv0EoD4Hu7m962O7B+PycExKgLHad7/S7BiU8N4GGfizmNdfTv1B/U4NFvkum2X8NJj/dG0ujDC+K+lDQvPDhJSw8cA7eu9ovD3Hpkn/Am1SWgLxwzc/AAAAAElFTkSuQmCC
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

> > --- loader/win32.c.orig	2003-09-05 17:08:23.000000000 -0500
> > +++ loader/win32.c
> > @@ -1374,8 +1374,10 @@ static void WINAPI expLeaveCriticalSecti
> >  	printf("Win32 Warning: Leaving uninitialized Critical Section
> >  	%p!!\n", c); return;
> >      }
> > +    if (cs->locked) {
> >      cs->locked=0;
> >      pthread_mutex_unlock(&(cs->mutex));
> > +    }
> >      return;
> >  }
> >  
> > 
> > Any better way to handle this?  If not, could you apply this patch?
> It's the proper way, committed.
I forgot to ask if the committed version really works for you. Is it
working? Please reply.

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)




More information about the MPlayer-dev-eng mailing list