Re: [rtl] Mutex and Timers

2000-11-16 Thread Pierre Cloutier
Stuart Hughes wrote: > > Ralf Ramrath wrote: > > > > Hi folks, > > > > I have the following problem: > > > > I have a "main thread" that has to read data from the serial port only if > > any data is available. On the other hand, the thread must not wait longer > > than let's say one second. > >

Re: [rtl] semaphore between rt and user space

2000-10-30 Thread Pierre Cloutier
S.A. wrote: > > Hi, > I found semaphores working in rt only, but how to share semaphores > between > rt tasks and user linux space tasks ? > > Are there common API for rt and user space ? Hi: With RTAI-LXRT you could do exactly what you want to do. Regards, Pierre -- ---

Re: [rtl] LXRT

2000-10-29 Thread Pierre Cloutier
Erwin Rol wrote: > > Hey Pierre, > > A small explanation what i am trying. Basicly it is just changing the > threads example in the lxrt directory to C++, and that worked OK. But i > found some dificulties. The c++ object i have in pthreads in > threadlocal data so i can > get the current C++ ob

Re: [rtl] LXRT

2000-10-29 Thread Pierre Cloutier
Erwin Rol wrote: > > Hello All, > > I am (still) trying out LXRT and it looks good, but there are some > things > i don't really understand. > > First when creating linux threads with pthread_create in user space is > it than > always needed to also create a RT_TASK , even if it only should do

Re: [rtl] RTAI and RTLinux

2000-08-31 Thread Pierre Cloutier
finally understood Victor's ego was bigger than everest. Regards Pierre Cloutier ___ Pierre Cloutier Tel: (450)-659-9186 Fax: (450)-659-0014 POSEIDON CONTROLS INC ___ -- [rtl] ---