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 / 1451
1450  |  1452
Subject: 
Re: LNP Packet Handlers on RCX
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 19 Oct 2000 15:02:51 GMT
Viewed: 
1313 times
  
Michael-
I seem to recall something about LNP not being completely thread
safe. However, there is no documentation on that at all. Stig Neilsson (if
he is around) may be a good person to ask, since he has studied the
threading model in detail, and would probably know where LNP may or may
not override things that it shouldn't.
Luis

On Thu, 19 Oct 2000, Michael J Ash wrote:

I remember reading somewhere a while back, when I first started dabbling
with LNP, that LNP handlers on the RCX side were called from interrupts
and therefore doing things like memory allocation, msleep, heavy
processing, etc. were not good ideas. Now I'm working on this LNP guide
and I want to confirm this before I start spouting it to the masses, and I
can't find anything about it. The LNP docs are sparse, and neither the
header files nor the LNP source files say anything about it. Did I just
make that up, or is this a real limitation that simply isn't
well-documented?

--
"Say not, 'I have found the truth,' but rather, 'I have found a truth.'
"Say not, 'I have found the path of the soul.' Say rather, 'I have met the
soul walking upon my path.'" -- Khalil Gibran
Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>



-----------------------------------------------------------------------

    "It's clear to us that Microsoft isn't the competition anymore.
                       They are our environment."
        WordPerfect manager, talking about Word

-----------------------------------------------------------------------



Message is in Reply To:
  LNP Packet Handlers on RCX
 
I remember reading somewhere a while back, when I first started dabbling with LNP, that LNP handlers on the RCX side were called from interrupts and therefore doing things like memory allocation, msleep, heavy processing, etc. were not good ideas. (...) (24 years ago, 19-Oct-00, to lugnet.robotics.rcx.legos)

6 Messages in This Thread:



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

Custom Search

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