Project

General

Profile

Actions

Feature #30

closed

Switch from epoll to select

Added by Anonymous almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
server
Target version:
-

Description

Make msgconnector use poll instead of epoll.


Solved by commit :
https://git.openrobots.org/projects/msgconnector/repository/revisions/4abead80d17d24fc889822eb35d405cf58ab792b

The correction does not affect the Client API, so every running code should still work. But there is actually a minor change on the return value from getMessage(), the first element of the pair is set to STAT_EMPT if the getMessage returned because there was no message : this is done to follow the non-blocking paradigm. If the socket has an error, as before the first element of the pair still contain STAT_ERR.

No data to display

Actions

Also available in: Atom PDF