|
> 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: ![](/news/x.gif) | | 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:
![](/news/x.gif) | | 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: ![Storing Data -Steve Hassenplug (20-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Storing Data -John A. Tamplin (21-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: Storing Data -Steve Hassenplug (21-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![How to make shared memory....not -Michael Obenland (22-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: How to make shared memory....not -Steve Hassenplug (27-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: How to make shared memory....not -Michael Obenland (27-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: How to make shared memory....not -Steve Hassenplug (27-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/246.gif) ![Re: How to make shared memory....not -Andy Gombos (27-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: How to make shared memory....not -Steve Hassenplug (27-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: How to make shared memory....not -Michael Obenland (28-Dec-01 to lugnet.robotics.rcx.legos)](/news/x.gif)
- 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
|
|
|
|