On Monday 04 December 2006 07:24, Vucsics Krisztian wrote: > Hello Everybody, > > I've checked the RT_PREEMPT_HOWTO but there is no "Hello World" example > at the moment. I don't know, whether and how it is possible to send > something via the serial port exactly scheduled, "without changing the > given programming APIs". I would like to send at least a single 'H' :-) > to a given serial port, precisely scheduled. > > Could you please send me an example for that?
Also, if you are looking for code examples, I suggest taking a look at the numerous test cases provided here (linked off the wiki): http://www.kernel.org/pub/linux/kernel/people/dvhart/realtime/tests/ These tests use a simple pthread/realtime wrapper called librt.h. You will find numerous uses of clock_gettime() and clock_nanosleep() as well as the pthread_cond_* routines. > > Thank you in advance, > Krisztian > > > - > To unsubscribe from this list: send the line "unsubscribe linux-rt-users" > in the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Darren Hart IBM Linux Technology Center Realtime Linux Team - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
