>> Hi all
>> 
>> I tried to start writing some real time task and make it periodic.  I
just
>> write a task to simply print out a message using printk everytime it
gets
>> it.  Then I tried to look at the print out using dmesg.  But I only see
>> 1 print out message.  Isn't it should be running periodically and print
>> out every 1s? (I set the period to 1s)

>It may be syslog is just counting the messages so it can say 'and
>another 2000 like the last'.  Try outputing a different message
>each time.

Also make shure you have a \n at the end of each printk().

To see every printk use
{static x=0; printk("%.8X hello wourld\n", x);}

Jens Michaelsen

--- [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