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:


Hmm the race condition ist there. The destructor of tetris just set
the running flag to false and returns at once,
while the thread is still running for a while and access the osd. the result is a disturbed picture and sound and wrong osd display
of a status message.

now i understand the first time, what you meant by waiting for the
thread to end. the destructor of cOsdObject must not return before the
osd is closed. ok, should be trivial to fix. :o)

I am very glad for that conclusion :-)



Well, now i understood how i can use the osd from a separate thread
and do not interfere with vdr core.

thanks for the discussion of the topic.

this should really be added to PLUGINS.html. ;-)

definitly.

kind regards ...
clemens



regards,
gunnar





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



Home | Main Index | Thread Index