[x264-devel] Re: x264: svn commit r250 (titer)

Gildas Bazin gbazin at altern.org
Mon Jun 6 10:29:52 CEST 2005


On Monday 06 June 2005 08:12, Gianluigi Tiesi wrote:
> On Sun, Jun 05, 2005 at 12:17:10PM +0200, Subversion daemon wrote:
> > r250 | titer | 2005-06-05 12:17:10 +0200 (Sun, 05 Jun 2005) | 3 lines
> > Changed paths:
> >    M /trunk/configure
> >    M /trunk/encoder/encoder.c
> > 
> >  Use win32 native threads (you still have to --enable-pthread to use
> >  them, though)
> > 
> > -- 
> Milan Cutka (the author of ffdshow, pointed me to the fact that
> is not a good idea to call CloseHandle over a terminated thread,
> so it would be safe to do not call it.
> 

It is perfectly safe as long as it is the joining thread that closes the 
handle, and not doing so will create a leak of handles which will 
eventually lead to the application not being able to spawn anymore threads, 
etc...

--
Gildas

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list