Mailing List archive

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

[vdr] Re: can the osd be accessed by a separate pthread?



Clemens Kirchgatterer wrote:

this is no problem. i tell you what really happens:

1. vdr starts the games plugin.
2. the plugin spawns its own "main thread".
3. the main thread opens the raw osd.

I know...

from now on this is the only instance, that does access the osd, so no
problem.


Is this really true? what about a status message appearing because of cutting process ended?
or a message iniated by a call to svdrsend.pl? my vbox plugin also show a status message if new calls are available.

if not, how can a plugin draw an animated osd graphic smootly? i doubt
that doing the drawing on kNone gives a smooth result.

i guess kNone just comes to unregulary to use this.

This maybe the case indeed.

furthermore this plugin, doesnt wait until the thread really ends, but
simply the the running flag to falls, on BACK-KEY press and returns
from PROCESS key.
it doubt that this is a correct behaviour. im all new to pthreads on linux so i cannt estimate what can be done and what not.

when you fall out of the main thread, what do you want to wait for?
when it ends, it ends. nothin more, nothing less. :-)

to wait until the thread really ends. because the thread  accesses the osd.

best regards ...
clemens



even better regards *g*
gunnar





--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index