[vlc-devel] [RFC] planned pth, state threads and cthreads removal

Felix Paul Kühne fkuehne.videolan at googlemail.com
Mon Jan 21 20:30:02 CET 2008


On 21.01.2008, at 17:43, Rémi Denis-Courmont wrote:

> 	Hello,
>
> Support for GNU pth has been broken for several years, and there  
> seems to be
> no interest whatsoever in bringing it back to a usable state. Same  
> for State
> Threads. Besides, as cooperative multithreading libraries, they  
> most probably
> don't work at all due to the heavy use of the socket API inside VLC.
>
> Cthreads is even worse as it seems pretty much dead upstream... for  
> over TEN
> years.
>
> pthread (and Win32) most certainly supersedes it on any supported  
> platform.
>
> N.B.: This is not a proposal to remove the BeOS kernel scheduler  
> support at
> this point of time.

I do understand your reasons and in fact, I strongly support this move.

However, I would ask you not to start working on it right away or do  
it in a branch at first, because I really want VLC 0.9.0 to get  
stable and finally out of the door. Thus, we got 2 ways: either  
rework threading in a separate branch or branch out 0.9.0. Both  
possibilities are acceptable to me.


Just my 2 cents.

Best,
Felix


More information about the vlc-devel mailing list