|
|
 | | How to make shared memory....not
|
| (...) You ask for it, you get it. BUT: It works, sort of. It will not survive any multitasking problems. Shared memory has to be handled by the OS, not by a user program. I split your problem to 3 programs. Program 1 allocates the memory and prints (...) (24 years ago, 22-Dec-01, to lugnet.robotics.rcx.legos)
| | |  | | Re: USB, Windows, legOS
|
| I tried the patch and still get the error "Error 6 GetCommState". Anyone know what this error means and what I can do to correct it? I would really like to get legOS running. (...) (24 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
| | |  | | Re: Storing Data
|
| (...) It was suggested by some of my 'c++' co-workers that this was the case (shared memory was available). However, I don't deal with that in my Visual Basic world. They also suggested there were 'unused' memory blocks in LegOS where data could be (...) (24 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
| | |  | | 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 (...) (24 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
| | |  | | 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 (...) (24 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
| |