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 / 2168
2167  |  2169
Subject: 
Storing Data
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 20 Dec 2001 14:15:54 GMT
Viewed: 
1561 times
  
When using LegOS (a most excellent creation, btw) is it possible to store a
value and use it in different programs?  Actually, I'm sure it is, but how
would someone do it?

I want to have one program to configure my light sensor, and use those
values in other programs.

Thanks
Steve



Message has 1 Reply:
  Re: Storing Data
 
(...) What you request is shared memory and shared memory is not a part of legOS. My way to simulate shared mem is to put the two (or more) tasks into one legOS program. Each task is started as a thread by an execi() call, triggered by the user via (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)

11 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