Suspect it’s a typographical error; read it as “failed”.

Do you open the API connection per thread? I suspect you will need to. It’s 
based on shared memory that may not survive thread spawning in some threading 
models in Python.

Chris

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Weitao Han
Sent: Monday, July 24, 2017 20:29
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] What is "pneum_read filed"?

When I use multithreads(python threading) to send msg to vpp, it raises 
"IOError - pneum_read filed".

In vpp_papi.py

rv = vpp_api.pneum_read(mem, size, self.read_timeout)
if rv:
    raise IOError(rv, 'pneum_read filed')

What does IOError - pneum_read filed mean?


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to