[gst-devel] Re: RFC: GNOME 2.0 Multimedia strategy
Andy Tai
lichengtai at yahoo.com
Sun May 20 19:51:43 CEST 2001
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 at 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/
More information about the gstreamer-devel
mailing list