Re: [vpp-dev] VPP and Non-VPP Communication #vpp

2019-05-16 Thread shaligram.prakash
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(, PTHREAD_PROCESS_SHARED);* *pthread_mutex_init(>lock, ); * *Regards,* *Shaligram

[vpp-dev] VPP and Non-VPP Communication #vpp

2019-04-11 Thread koolvivekvroy
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: