Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow multiple instances of IPCMessageSubscriber in one process #51963
What does this PR do?
Updates IPCMessageSubscriber to be instantiated and read simultaneously. To do this I'm introducing an IPCMessageSubscriberService that is the old IPCMessageSubscriber singleton. It's instantiated once and it controls that the socket reading is started once any subscriber want's to read data and stopped when there still no subscribers.
What issues does this PR fix or reference?
The second parallel try to read data with IPCMessageSubscriber raises socket error while another reading is in progress.
IPCMessageSubscriber can be used anywhere without taking care of other parts of client code.
Commits signed with GPG?