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

Alan Cox alan at redhat.com
Sun May 20 21:34:28 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...

Yes they can co-exist. A co-routine is a state machine simplification
by expressing the state machine as multiple state machines. Nothing more.
Threads is parallel execution of machines.

The semantics might not always be meaningful if you mix them too hard but
in terms of one calling the other a co-routine based app is identical to
a single threaded app


More information about the gstreamer-devel mailing list