Re: [rtl] binary semaphore

2002-01-31 Thread Massimiliano Cialdi
Ish Rattan wrote: On Wed, 30 Jan 2002, Massimiliano Cialdi wrote: I need to use binary semaphore instead of counting. There is a posix implementation? What about counting semaphore initalized to 1? I need a semaphore that assumes only values 0 or 1, and never greater than 1. thanks --

Re: [rtl] binary semaphore

2002-01-31 Thread Massimiliano Cialdi
[EMAIL PROTECTED] wrote: On Wed, Jan 30, 2002 at 11:12:20AM -0500, Ish Rattan wrote: On Wed, 30 Jan 2002, Massimiliano Cialdi wrote: I need to use binary semaphore instead of counting. There is a posix implementation? What about counting semaphore initalized to 1? Or mutex. Anders

Re: [rtl] binary semaphore

2002-01-31 Thread yodaiken
On Thu, Jan 31, 2002 at 09:10:38AM +0100, Massimiliano Cialdi wrote: Ish Rattan wrote: On Wed, 30 Jan 2002, Massimiliano Cialdi wrote: I need to use binary semaphore instead of counting. There is a posix implementation? What about counting semaphore initalized to 1? I need a

[rtl] Problem with rtf_create_rt_handler

2002-01-31 Thread Philip Reetz
Hello, I'm having two problems concerning the handler for a rtfifo. I'm using the handler routine to activate threads on certain conditions. The idea is a periodic threads writes something into the control fifo. The handler routine checks if a condition is met and then activates a different

[rtl] sem_getvalue

2002-01-31 Thread Anders Gnistrup
correction sem_get_value return a negative number if the semaphore is blocked. therefor while((sem_get_value(semaphore)) != 0) shuold be shifted with while((sem_get_value(semaphore)) 0) Semaphores is part of POSIX.1b which is the one that is implemented in RTLinux. (well, I am not sure that

[rtl] Hardware Konflict??

2002-01-31 Thread Florian Querfurt
Hi! Got some problems. Installing RTlinux is as far no problem, but if I wanna start it, i´ll always got a kernel panic. I´m not quit sure, but because it happend on more than one version I tried to install, may be it is some hardware conflict. Could anyone please tell me if you use any of the

RE: [rtl] Medical devices

2002-01-31 Thread Thomas Frasher
We have two products that are FDA approved and currently shipping (we are releasing the second today) Two are class 2 devices (one for spinal procedures, one for more cosmetic type things) one is running RTAI the other RTLinux. Thomas -Original Message- From: [EMAIL PROTECTED]

[rtl] MiniRTLinux test applications.

2002-01-31 Thread Usabiaga Gorka
Hi all, Can someone tell me how the MiniRTLinux test applications work? I have downloaded NiniRTL 3.0, with kernel 2.2.18-rtl3.0, and I'm trying to test it. I have found some test applications on the /lib/modules directory but I can't find any kind of documentation about their usage. The

Re: [rtl] Shared IRQ handler in RT

2002-01-31 Thread Wayne E. Van Loon Sr.
Herman: What is your definition of a shared interrupt? 1) A single interrupt being shared between rtl and Linux? 2) A single interrupt being shared within a rtl process? 3) A single interrupt being shared between multiple rtl processes? 4) Other possibilities? Best Regards, Wayne Herman

Re: [rtl] Hardware Konflict??

2002-01-31 Thread Anders Gnistrup
One of the most known problems is not to chose the right CPU type. It might work with Linux but chosing a wrong CPU in RTLinux is not the same. Anders On Thu, 31 Jan 2002 13:12:23 +0100 (MET) Florian Querfurt [EMAIL PROTECTED] wrote: Hi! Got some problems. Installing RTlinux is as far no

Re: [rtl] rtl_time module stops working

2002-01-31 Thread Kristoffer Persson
On Wed, 30 Jan 2002 [EMAIL PROTECTED] wrote: When you build Linux/RTLinux are you configuring for an AMD, enabling any MTRR ? My kernel and RTLinux modules were built for i486, because that's what an AMD 5x86 essentially is. CONFIG_MTRR is not set. I also tried to rebuild the whole kernel and