Re: [gst-devel] Re: RFC: GNOME 2.0 Multimedia strategy
- From: Alan Cox <alan redhat com>
- To: atai atai org
- Cc: gnome-devel-list gnome org, alan redhat com (Alan Cox), omega temple-baptist com (Erik Walthinsen), Uraeus linuxrising org (Christian Schaller), gnome-hackers gnome org, gnome-sound-list gnome org, gstreamer-devel lists sourceforge net
- Subject: Re: [gst-devel] Re: RFC: GNOME 2.0 Multimedia strategy
- Date: Sun, 20 May 2001 15:34:28 -0400 (EDT)
> 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
] [Thread Prev