Hello,

I noticed once, that vapi_recv function, called from vapi_dispatch_one, is 
called like this:

vapi_recv (ctx, &msg, &size, SVM_Q_WAIT, 0 );

and one time, it happened just once and i couldn't regenerate it, the code was 
freezed in pthread_cond_wait called from svm_queue_wait_inline.
and when i traced it back, it was all started from vapi_recv.

isn't it a better practice to call vapi_recv in vapi_dispatch_one with 
SVM_Q_TIMEDWAIT ?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13034): https://lists.fd.io/g/vpp-dev/message/13034
Mute This Topic: https://lists.fd.io/mt/31627670/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #vapi: https://lists.fd.io/mk?hashtag=vapi&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to