As a first step in imporving the MDS recv of TIPC events by changing data socket and bsr socket to nonblocking and loop over recv til EWOULDBLOCK or EAGAIN. Also changing to handle each descriptor before entering the poll loop. This to reduce the mutex lock contention. As a next step it this global mutex lock. See also [#1966]
Diff:
Diff:
Diff:
Related
Tickets: #1966
changeset: 8441:48b0807e10f8
user: Hans Nordeback hans.nordeback@ericsson.com
date: Wed Dec 07 12:34:16 2016 +0100
files: osaf/libs/core/mds/mds_dt_tipc.c
description:
mds: Remove use of mutex at TIPC receive (part 1) V6 [#2132]
This first part changes the socket descriptors to non blocking at receive.
This to read all incoming messages before returning to the next poll call.
Related
Tickets:
#2132