[Rtl]is access to an integer in a RTL-thread atomic?

2002-10-16 Thread Thomas Sauter
Hi RTL-Folks, Does somebody have some answers for the following question? You have two RTL threads and a global integer variable which is initial set to zero. Thread one will change the global integer variable without the use of any synchronisation mechanism to a new value. After that,

[Rtl]Driver

2002-10-16 Thread Andreas
Hallo, I want to use a RS422-card with RTLinux. There is no RTL-driver available for this card. Can I use the Linux driver with RTLinux ? If not, is there a document, which desribes the development of a RTLinux driver ? Thanks Andy -- +++ GMX - Mail, Messaging more http://www.gmx.net +++

[Rtl]Eg: semapore,timer,eventand memory allocation in RTLinux

2002-10-16 Thread abhinandan
Hello all, Can anyone give me an examples of implementating the below said services on RTLinux 1.Semapore services. 2.Time and Timer services. 3.Event notification services. 4.Memory allocation services. Thanks in advance. wating for response. Regards, Abhi Patil Sarayu Softech Pvt. Ltd.,

Re: [Rtl]is access to an integer in a RTL-thread atomic?

2002-10-16 Thread Linus Gasser
On Tuesday 15 October 2002 23:09, Thomas Sauter wrote: Hi RTL-Folks, Does somebody have some answers for the following question? You have two RTL threads and a global integer variable which is initial set to zero. Thread one will change the global integer variable without the use of any

Re: [Rtl]is access to an integer in a RTL-thread atomic?

2002-10-16 Thread Der Herr Hofrat
Hi RTL-Folks, Does somebody have some answers for the following question? You have two RTL threads and a global integer variable which is initial set to zero. Thread one will change the global integer variable without the use of any synchronisation mechanism to a new value. After

[Rtl]y does rtl_wait_wakeup wakes up all the tasks in queue?

2002-10-16 Thread Vinay NK
In the function sem_post, rtl_wait_wakeup is called. Inside rtl_wait_wakeup all the tasks in the wait queue are woken up. Why is it necessary to wake up all the tasks in the queue, why not only one? Incase of counting sema4 of value say 2, if more than 2 tasks are waiting then more than all of

Re: [Rtl]Eg: semapore,timer,eventand memory allocation in RTLinux

2002-10-16 Thread Ish Rattan
On Wed, 16 Oct 2002, abhinandan wrote: Hello all, Can anyone give me an examples of implementating the below said services on RTLinux Sorry couldn't resist. This is a real COOL query! -ishwar ___ Rtl mailing list [EMAIL PROTECTED]

[Rtl]lsmod causes segmantation fault

2002-10-16 Thread Baskan Kalezade
Hi, all After installing, rt module starts to execute but when I type lsmod , insmod or rmmod , segmentation Fault message is displayed. The module continues to execute but i always need to restart my computer to be able to use insmod again. Did any of you guys run into the

RE: [Rtl]Eg: semapore,timer,eventand memory allocation in RTLinux

2002-10-16 Thread Sudhir S, Noida
Check out RTAIs rt-mem a memory manager which is really cool and you can easily port it to RTLinux. I guess someone out there ported this memory manager already to RTLinux, why not search in the archives Anyways i ported myselves to RTLinux... simple though :) hope this helps - Tom --