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

neovim / neovim / 926
77%

Build:
DEFAULT BRANCH: master
Ran 01 Apr 2014 12:58PM UTC
Jobs 2
Files 163
Run time 7min
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
926

Pull #410

travis-ci

tarruda
Move signal handling to libuv event loop

This removes all signal handling code from os_unix.c to os/signal.c. Now signal
handling is done like this:

- Watchers for signals are registered with libuv default event loop
- `event_poll` continuously calls `poll_uv_loop` to produce events until it
  receives user input, SIGINT or a timeout
- Any signals received in `poll_uv_loop` will push events to a queue that is
  drained and processed by `event_poll`

Signals aren't handled directly in the libuv callback to avoid recursion in the
event loop(which isn't supported by libuv).

The same principle will apply to other events in the future: Push to a queue
from a libuv callback and drain it from `event_poll`
Pull Request #410: [RFC] Move signal handling to libuv event loop

123 of 123 new or added lines in 6 files covered. (100.0%)

64731 of 113351 relevant lines covered (57.11%)

90390.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
46
100.0
src/os/signal.c
21
100.0
src/os/event.c
2
100.0
src/main.c
1
100.0
src/os_unix.c

Coverage Regressions

Lines Coverage ∆ File
5
100.0
src/fileio.c
4
100.0
src/os_unix.c
3
100.0
src/getchar.c
3
100.0
src/os/input.c
1
100.0
src/os_unix.h
Jobs
ID Job ID Ran Files Coverage
1 926.1 01 Apr 2014 01:05PM UTC 0
59.88
Travis Job 926.1
2 926.2 01 Apr 2014 12:58PM UTC 0
0.29
Travis Job 926.2
Source Files on build 926
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #926
  • Pull Request #410
  • PR Base - master (#918)
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