|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Dynamically Linked Libraries
Quote:
How did you implement the shared memory? We noticed that POSIX message queues are not in the kernel. Is the POSIX shared memory API supported? Or maybe SystemV style shared memory? Or did you do something custom? TIA |
|
#2
|
|||
|
|||
|
Re: Dynamically Linked Libraries
Essentially SystemV shared memory, though we just use the mmap call directly to map a file from /dev/shm/ in. We then built up message queues with mutexes, condition variables, etc in that memory and use those. That lets you use priority inversion safe mutexes, which is good.
|
|
#3
|
|||
|
|||
|
Re: Dynamically Linked Libraries
Just putting this out there, thank you all for all your help. I have successful dynamic loading of code and am able to make changes to the program while the robot is active.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|