diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-07-31 14:40:52 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-09-25 22:09:12 +0000 |
commit | 2736fc7fcf1da65c1739bfbe498d7373a4034204 (patch) | |
tree | 7316780fab26585b09a22cdb8024eb7131e5f070 /README.md | |
parent | 17b7a067a2885318ca2bbbd65a580e330cbe3a4b (diff) |
libmemif: introduce 'memif_per_thread_' namespace
APIs in 'memif_per_thread_' namespace are used to split the global
database into separate databases, to improve multi-thread use cases.
Using 'memif_per_thread_init' client can create separate libmemif
databases (libmemif_main_t). Client will reference these databases
using memif_per_thread_handle_t. Each database requires unique socket.
Created interface will be stored in the same database as the socket
passed in connection arguments.
Example code: extras/libmemif/examples/icmp_responder_3-1/main.c
Type: feature
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I261563ecc34761a76e94f20c20015394398ddfd7
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
(cherry picked from commit 17f2a7bbf25f54dbd71aa8f377875828b7b88e35)
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions