Marcel Wiesweg wrote:
Am Sonntag, 22. Juni 2003 18:27 schrieb Gunnar Roth:Of course, this is the way it should be. the messages are important and should interrupt anything else.
Clemens Kirchgatterer wrote:As you can easily find outby testing, in this case the cOsdObject returned by MainMenuAction is deleted (it should close the OsdBase then), and the message is displayed.
this is no problem. i tell you what really happens:I know...
1. vdr starts the games plugin.
2. the plugin spawns its own "main thread".
3. the main thread opens the raw osd.
Is this really true? what about a status message appearing because ofproblem.from now on this is the only instance, that does access the osd, so no
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.
So this will interrupt your newsticker.
You generally do running = false;This maybe the case indeed.if not, how can a plugin draw an animated osd graphic smootly? i doubti guess kNone just comes to unregulary to use this.
that doing the drawing on kNone gives a smooth result.
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.
Cancel(1);
so that when the thread does not end within one second, it will be killed the hard way.
I know this is the way it is done in the mp3 player for example. But the tetris plugin doesnt use cThread, but plain pthread calls. as i said, i doubt that the behaviour was correct, but wasnt sure about it. regards, gunnar -- Info: To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.