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 / 2171
2170  |  2172
Subject: 
Re: Storing Data
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 21 Dec 2001 12:21:38 GMT
Viewed: 
1540 times
  
When using LegOS (a most excellent creation, btw) is it possible to store a
value and use it in different programs?

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 the remote control.

Is someone out there working on a legOS memory pool implementation??

Mike



Message has 1 Reply:
  Re: Storing Data
 
(...) As there is no memory management, any memory not on the stack is by definition shared between any threads. Concurrency control is up to you however. John A. Tamplin jat@jaet.org 770/436-5387 HOME 4116 Manson Ave 770/431-9459 FAX Smyrna, GA (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Storing Data
 
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 (...) (23 years ago, 20-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

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