summaryrefslogtreecommitdiffstats
path: root/src/vlibmemory/socket_api.c
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-09-10 13:35:11 +0200
committerOle Trøan <otroan@employees.org>2019-10-09 09:23:29 +0000
commit0938547eaaf5440de28877fa4f873c21bcb8cfbf (patch)
tree18e4a1dd437307d3fa83842763122e00b0c3ce0a /src/vlibmemory/socket_api.c
parentd6f1c9c5141c177a14d011a514e392a9357398fb (diff)
papi: introduce read_blocking
Previously, self.transport.q got the messages (at least for socket transport), stored in the encoded (packed) form. In order to avoid accessing internals for async reads, a new method is introduced, to perform blocking reads of decoded (unpacked) messages. The method is also used in _call_vpp(), so sync and async reads are kept compatible. Type: feature Change-Id: Id49792dfa57c00b1a14a198031c5398d09a9ba20 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'src/vlibmemory/socket_api.c')
0 files changed, 0 insertions, 0 deletions