Re: [gst-devel] Re: RFC: GNOME 2.0 Multimedia strategy



Can co-routines and pthreads coexist?  No matter how
bad pthread is, a library like gstreamer based on
co-routines will have limited use if it cannot be used
by applications that make use of standard threads...

--- Alan Cox <alan redhat com> wrote:
> >   The whole debate sounds to me that the current
> pthread implementation ain't
> > good enough. I would rather see it fixed than
> build the co-thread routines
> > within the multimedia libray...
> 
> They solve two different problems. Its unfortunate
> that people muddle the
> elegance of co-routines with the ugly great splat
> called threads.
> 
> 
> Unless you want the parallelism (and you need to
> want it badly as most pthread
> apps have shared data problems so dont scale anyway)
> co-routines have a lot
> to offer in terms of writing code as multiple
> state/event loops not one.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]