[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/PTHREAD-EMBEDDED PATCH 1/2] Add clockid_t field to pthread_condattr_t_


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Tue, 31 Mar 2020 18:07:18 +0300
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WPIr1NFh+ni6YQb5fnto21R8jIGKw7aavWazedVQgRA=; b=X5IYEzC90xhMYbZsfvZDgt+42FqxbDIH7//H6ofAsrSS3V1eO3BYMLf8ayFdFm0n/qHnMiui7cp1izPxA1uCBX80G+ie79I+HXZBiCZ0u+3/Ecv5tKmgWWyd0NvYk18Ohue/f5b0cR5XV3ixsMwhFUc+XAWZ4JYjtttQiwt/yrrSPbsVPKcgU7gdaBaq5CAfCR+Y2VNx9FhwA+CDBvczJY+mdVn0c1ZoEia6rFv1jZ65fBWsJkS86sd+UwBayFeuArGDnlb0Cy9fVGoIi7nuudWp/44Usl2+OFtXDRHEGCwj8RBoQVm9IO19orXYfBZleU/NayGPJu9FFORRFWimbA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UsAiPje0kdHI2Z34RPftzoklp89umQyYT0sCV5T4wD/iCt/qtMMNn8Nn8TU+SexdDGlyciRAy6dBdOatnRzyc3OG5OY08RICFqsVRsr24VX5PE2eIYgDzOXS9ESSlZpfd7NwQiUpOZdKRSABJVepi7tssBc5Y8XBegqA+O06R8y3mY/2sJcmj6nd70wkxva5JojmsngXplyK4jeV/IIqb1Eohp+6GyGE1LmP8701BxhEIKZyjYxd5JIk903yE8V8kLkN38fXubf0gCJTYZ8BhQ41l24tmVF9AtKTLazNYU6SICzy0a/35tT4+5b8revuYGYx7Py324+unfxivHd/9g==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: felipe.huici@xxxxxxxxx, costin.lup@xxxxxxxxx, Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 31 Mar 2020 15:07:41 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Since pthread_condattr_t is defined as pthread_condattr_t_,
we add the clockid_t field to pthread_condattr_t_. This field
is used by funcions such as pthread_condattr_getclock.

Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 ...ockid_t-field-to-pthread_condattr_t_.patch | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 
patches/0011-Add-clockid_t-field-to-pthread_condattr_t_.patch

diff --git a/patches/0011-Add-clockid_t-field-to-pthread_condattr_t_.patch 
b/patches/0011-Add-clockid_t-field-to-pthread_condattr_t_.patch
new file mode 100644
index 0000000..7052760
--- /dev/null
+++ b/patches/0011-Add-clockid_t-field-to-pthread_condattr_t_.patch
@@ -0,0 +1,29 @@
+From 6f1dff8cd9df482fa7f13a55c6e20303f0809f35 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Vlad-Andrei=20B=C4=82DOIU?=
+ <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+Date: Mon, 23 Mar 2020 12:52:57 +0200
+Subject: [PATCH 1/1] Add clockid_t field to pthread_condattr_t_
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+---
+ implement.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/implement.h b/implement.h
+index 25ae4f1..ad94602 100644
+--- a/implement.h
++++ b/implement.h
+@@ -250,6 +250,7 @@ struct pthread_cond_t_
+ 
+ struct pthread_condattr_t_
+   {
++    clockid_t clock;
+     int pshared;
+   };
+ 
+-- 
+2.20.1
+
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.