mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[librtpi] update to 1.0.1 (#42126)
This commit is contained in:
parent
df6921c0b6
commit
9e6ee811df
@ -1,26 +0,0 @@
|
||||
From 75409d8ec67146e0c245316cb564aed5ffda5041 Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Zoeller <ryan.zoeller@aliaro.com>
|
||||
Date: Fri, 30 Aug 2024 10:51:27 -0500
|
||||
Subject: [PATCH] condition_variable: fix wait_until predicate evaluation
|
||||
|
||||
Signed-off-by: Ryan Zoeller <ryan.zoeller@aliaro.com>
|
||||
---
|
||||
src/rtpi/condition_variable.hpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/rtpi/condition_variable.hpp b/src/rtpi/condition_variable.hpp
|
||||
index 9041ab7..6fd82d8 100644
|
||||
--- a/src/rtpi/condition_variable.hpp
|
||||
+++ b/src/rtpi/condition_variable.hpp
|
||||
@@ -185,7 +185,7 @@ class condition_variable {
|
||||
const std::chrono::time_point<Clock, Duration> &timeout_time,
|
||||
Predicate stop_waiting)
|
||||
{
|
||||
- while (!stop_waiting) {
|
||||
+ while (!stop_waiting()) {
|
||||
if (wait_until(lock, timeout_time) ==
|
||||
cv_status::timeout)
|
||||
return stop_waiting();
|
||||
--
|
||||
2.43.5
|
||||
|
@ -3,10 +3,8 @@ vcpkg_from_gitlab(
|
||||
GITLAB_URL https://gitlab.com
|
||||
REPO linux-rt/librtpi
|
||||
REF "${VERSION}"
|
||||
SHA512 fb0cdd14f3c94f610fc153154ea09d5cfd7d3def16bdaabf8c2b4e0a8b7fa8ddec4cde6ae0b8726d58ee4a773df5c4f13002e565fb06ad3c8e9731a45122704f
|
||||
SHA512 2665c32867f498d37daaec68a66f5d226de8c2f29bd57f784fbf33245aa5fc3dc173bb80d948b1b5c2c03798dce3fbd9638a3c0ec3816430ecfc7436cea9566e
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
condition_variable-fix-wait_until-predicate-evaluation.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_make(
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "librtpi",
|
||||
"version": "1.0.0",
|
||||
"port-version": 1,
|
||||
"version": "1.0.1",
|
||||
"description": "The Real-Time Priority Inheritance Library (librtpi) is intended to bridge the gap between the glibc pthread implementation and a functionally correct priority inheritance for pthread locking primitives, such as pthread_mutex and pthread_condvar.",
|
||||
"homepage": "https://gitlab.com/linux-rt/librtpi",
|
||||
"license": "LGPL-2.1-only",
|
||||
|
@ -5053,8 +5053,8 @@
|
||||
"port-version": 4
|
||||
},
|
||||
"librtpi": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 1
|
||||
"baseline": "1.0.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"librttopo": {
|
||||
"baseline": "1.1.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6920412f6e855f637141ada5747c51c6e799c2e0",
|
||||
"version": "1.0.1",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "a224c4751a43ecde77210db70bc9f0b233a1b9c0",
|
||||
"version": "1.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user