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

xapi-project / xen-api / 11592344812 / 1
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2024 11:37AM UTC
Files 37
Run time 1s
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.1

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

Source Files on job python3.11 - 11592344812.1
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11592344812
  • 864ecdd2 on github
  • Prev Job for on master (#11578511110.1)
  • Next Job for on master (#11595097970.1)
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