To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 584
583  |  585
Subject: 
Re: Call for debugging support
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 17 Dec 1999 10:10:55 GMT
Viewed: 
1375 times
  
Martin Cornelius wrote:
My currently favored approach is to use select() for everything, my
tests show it is not affected by the hardware FIFO of the uart.

I doubt that's portable (and I'm a little surprised).

Of
course, this requires to run the select() loop in a separate thread, but
POSIX threads are portable, hopefully. BTW, can anybody tell me if WINxx
supports
select()

Only on sockets.

and/or POSIX threads ?

Don't be funny! Windows has its own threads, of course.

Cheers,

Ben.

--
SECURE HOSTING AT THE BUNKER! http://www.thebunker.net/hosting.htm

http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi



Message has 2 Replies:
  Re: Call for debugging support
 
(...) I seem to recall there being a pretty good pthreads implementation for windows, and voila... (URL) Ferrari and Marco Beri also referred to a "native" pthreads library when they first released emuLegOS, but I can't actually find a link from (...) (25 years ago, 17-Dec-99, to lugnet.robotics.rcx.legos)
  linux-lnp: select() vs. SIGIO ( was Re: Call for debugging support )
 
(...) Uuh, there was a little bug in my test program. Once again, i learned i have to read gcc´s warnings carefully. On linux, select() suffers exactly the same thing as SIGIO. If the hardware fifo of the uart is enabled, and there is a stream of (...) (25 years ago, 20-Dec-99, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Call for debugging support
 
(...) hello Markus, i´m still working on a (hopefully) portable, robust version of linux LNP, that allows multiple client tasks or threads on the PC to communicate with one ore more RCX´s simultanously via one tower, ( one of them could be gdb, in (...) (25 years ago, 17-Dec-99, to lugnet.robotics.rcx.legos)

11 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR