Re: GPMI
Steve Lhomme <[email protected]>
| Newsgroups | gmane.comp.multimedia.media-api |
|---|---|
| Message-ID | <[email protected]> |
Steve Lhomme wrote:
> http://plugin.org.uk/GMPI/summary-1.0.html
Interresting point raised in 5.2 :
5.2. Does the host provide some kind of threading environment?
Initially divided into two strategies:
1. Host is in charge of all thread synchronization. No plugin
functions are re-entrant or asynchronous.
2. Plugin is in charge of synchronization, based on API defined
rules. Some calls may be re-entrant, some may not.
Actually with our vtable system, the host is completely bypassed. But in
some case (maybe all) it would be nice to have the host handle some
asynchronous task or know what is going on.