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...

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


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