Re: [rtl] malloc, timers, and crashes.

2001-12-07 Thread Jasmeet Singh
could you please tell me how you r implementing timers what all system calls r you using Regards, Jasmeet Singh -- [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:

Re: [rtl] malloc, timers, and crashes.

2001-12-07 Thread Calin A. Culianu
Ken, Don't listen to people that tell you well don't use linked lists in rt tasks and the like. Go ahead.. do it. Have fun.. knock yourself out. The reason your machine crashes is because kmalloc can't be used inside the RT thread. Generally you need to use kmalloc in the non-rt part of

Re: [rtl] malloc, timers, and crashes.

2001-12-07 Thread Norm Dresner
Ken. Please don't think that I was advocating the abandonment of all thoughts of creating a real-time memory allocator under all possible sets of conditions -- No. What I was arguing was that it's impossible in general, that there is no one-size-fits-all. Many problems have finite

Re: [rtl] How can I use math function in RT module?

2001-12-07 Thread Norm Dresner
You can use some in rt-threads if you set the thread attribute to use_fp before the first time it uses the math coprocessor. The safest way to find out what math functions you can use is to extract the modules you want from the math library with the 'ar' command, then use objdump to see what

[rtl] How to create overloads

2001-12-07 Thread nitin_jose
hi, I would like to know how to create overload so that many tasks miss the deadline. In the scheduler rtl_sched.c , where tasks are checked for overruns, does it mean it has missed its deadline? Can deadlines be specified for periodic tasks in RTLinux and how if possible? I would be glad