Yes, It can definitely be done via mmap the memory and marking the thread
process shared.
*fd=shm_open(...);*
*mmap(NULL, shmSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);*
*...*
*pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);*
*pthread_mutex_init(&metrics->lock, &attr); *
*Rega
Can VPP and non-VPP Linux process share a single database (say shared memory)?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12762): https://lists.fd.io/g/vpp-dev/message/12762
Mute This Topic: https://lists.fd.io/mt/31029666/21656
Mute #vpp: https