|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Improve CLI signal handling on POSIX. (cherry picked from commit 423ac2144) An obsolete signal() function in glibc is implemented as a wrapper for POSIX sigaction() call with BSD semantics. In particular, it provides an SA_RESTART flag for SIGINT handler [1-2]. The latter makes certain system calls, e.g. read() or wait(), restartable across signals [3]. The patch switches from signal() to sigaction() for POSIX systems to obtain an explicit control of the signal flag set, which must not contain SA_RESTART flag. (Actually, the empty flag set is used.) 1. https://man7.org/linux/man-pages/man2/signal.2.html 2. https://ftp.gnu.org/gnu/glibc/glibc-2.44.tar.xz (sysdeps/posix/signal.c, line 44) 3. https://man7.org/linux/man-pages/man2/sigaction.2.html Temir Galeev: * added the description and the test for the problem Part of tarantool/tarantool#13442
12756 of 15761 branches covered (80.93%)
Branch coverage included in aggregate %.
10 of 10 new or added lines in 1 file covered. (100.0%)
32 existing lines in 2 files now uncovered.21935 of 23567 relevant lines covered (93.08%)
3946298.98 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 22 |
87.99
|
-0.86% | src/luajit.c |
| 10 |
69.48
|
-0.99% | src/lj_api.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 42523528358.1 | 89 |
88.21
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|