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

libevent / libevent / 450
81%

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2018 04:33AM UTC
Jobs 2
Files 99
Run time 45s
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
450

push

travis-ci

azat
Fix base unlocking in event_del() if event_base_set() runned in another thread

Image next situation:
  T1:                                        T2:
   event_del_()
     lock the event.ev_base.th_base_lock
     event_del_nolock_()                     event_set_base()
     unlock the event.ev_base.th_base_lock

In this case we will unlock the wrong base after event_del_nolock_()
returns, and deadlock is likely to happens, since event_base_set() do
not check any mutexes (due to it is possible to do this only if event is
not inserted anywhere).

So event_del_() has to cache the base before removing the event, and
cached base.th_base_lock after.

4 of 4 new or added lines in 1 file covered. (100.0%)

10932 of 13567 relevant lines covered (80.58%)

274251.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 450.1 (EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes) 28 Feb 2018 04:33AM UTC 0
80.58
Travis Job 450.1
2 450.2 (EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes) 28 Feb 2018 04:33AM UTC 0
0.0
Travis Job 450.2
Source Files on build 450
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #450
  • 08a0d366 on github
  • Prev Build on master (#449)
  • Next Build on master (#456)
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