• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zeromq / cppzmq / 68
88%

Build:
DEFAULT BRANCH: master
Ran 03 May 2018 07:48PM UTC
Jobs 3
Files 2
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
68

Pull #219

travis-ci

web-flow
Problem: poller can segfault when modified from registred handler.

It is possible that a user would like to add/remove sockets from
handlers. As handlers and poll items might be removed while not
being processed yet - we have a segfault situation.
Provided unit test `remove_from_handler` demonstrates the problem.

Solution: Modify internal poll item data structure only after processing
of events is finished.

Please not that events processing path performance remains the same when there are
no modification (add/remove) to the poller (no rebuild) - main real use case.

As an effect of changes `size()` method has been removed as it does not
represent any meaningful information anymore. There are active and pending
(waiting for rebuild) poll items so two different sizes. User can
easily track on their side number of registered sockets if original size
information is needed.

`wait` method returns number of processed sockets now. It might be
useful information to a user for no extra cost.
Pull Request #219: Problem: poller can segfault when modified from registered handler.

36 of 64 relevant lines covered (56.25%)

16.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 68.1 (BUILD_TYPE=cmake ZMQ_VERSION=4.2.5) 03 May 2018 07:48PM UTC 0
56.25
Travis Job 68.1
2 68.2 (BUILD_TYPE=cmake ZMQ_VERSION=4.2.0) 03 May 2018 07:48PM UTC 0
56.25
Travis Job 68.2
3 68.3 (MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE=cmake ZMQ_VERSION=4.2.5 DRAFT=1) 03 May 2018 07:50PM UTC 0
64.38
Travis Job 68.3
Source Files on build 68
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #68
  • Pull Request #219
  • PR Base - master (#67)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc