Hello there,

I've got some problems wasting too much processor time in my rtlinux
project. Especially, I'm polling a status bit of the VGA card, that
tells me, that a VSync occurs. Since the Vsync is every 18ms and I've
to react quick, I have to do a close loop polling, which wastes about
9ms processor time for every Vsync. Is there a opportunity to react to
that signal by a handler or interrupt or something?

Also I've to wait for a Bitblt to be ready. Now, I also poll a bit in
the vga card, but isn't it possible to set a semaphore in the user
process, where the bitblt is startet? Are there semaphores which can
be used in user and kernelspace the same time?

Is it possible that a realtime thread (the only one) that is
rt_task_delay()ed for example 10ms doesn't wake up after 10 but after
12 or 15 ms? Or is that a problem in my timemesurement with
rt_get_time()? (maybe the thread is set to sleep by this call)
(I measure a Vsync of 18ms with the osziloscope, but rt_get_time()
tells me it is about 23ms)

Thanks for Your answers
Bernd

--
[EMAIL PROTECTED], http://www.basysprint.de
basysPrint GmbH, Guelzer Str. 15, 19258 Boizenburg, Germany
Tel.: ++49-38847-99-163, Fax:++49-38847-99-192


--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to