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

xapi-project / xen-api / 11592344812
78%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2024 11:34AM UTC
Jobs 1
Files 37
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

30 Oct 2024 11:23AM UTC coverage: 78.273%. Remained the same
11592344812

push

github

web-flow
CP-52039: Drop Semaphore from Xapi_stdext_threads (#6094)

Prior to version 4.12, OCaml's standard threads library (`systhreads`)
had no builtin concept of a semaphore, so one was implemented in
`Xapi_stdext_threads`.

We replace all usages of this with `Semaphore.Counting` from the
standard library and remove the implementation from
`Xapi_stdext_threads`.

Technically, the interface provided by the previous semaphore is more
general: it permits arbitrary adjustments to the semaphore's counter,
allowing for a "weighted" style of locking. However, this is only used
in one place (with a weight value of 1, which is the same
decrement/increment value as normal).

---

All green on BVT+BST (`207043`) apart from 2 known issues. The number of
users of the semaphore module in the codebase is quite low, which is why
I think it's fine to drop the implementation entirely.

3462 of 4423 relevant lines covered (78.27%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 11592344812.1 30 Oct 2024 11:34AM UTC 37
78.27
GitHub Action Run
Source Files on build 11592344812
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11592344812
  • 864ecdd2 on github
  • Prev Build on gh-readonly-queue/master/pr-6061-2ed1166bc9d951f39411980d208d51a8af4c70ce (#11578511110)
  • Next Build on master (#11595097970)
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

© 2025 Coveralls, Inc