Got it, thanks
pthread.h has time.h included in it
didn't knew that
so I included it
On Fri, Mar 13, 2020 at 1:36 AM Joel Sherrill wrote:
> I still don't see why you need the includes. I just posted (
> https://lists.rtems.org/pipermail/devel/2020-March/058176.html ) what I
> think is a complet
I still don't see why you need the includes. I just posted (
https://lists.rtems.org/pipermail/devel/2020-March/058176.html ) what I
think is a complete implementation of this method. It assumes that the
thread Id does not overlap the valid clockid's which I am pretty sure is
true. Then clock_gett
Link to the new patch :
https://lists.rtems.org/pipermail/devel/2020-March/058174.html
On Fri, Mar 13, 2020 at 1:19 AM Eshan Dhawan
wrote:
>
>
> On Fri, Mar 13, 2020 at 12:57 AM Joel Sherrill wrote:
>
>> Why did you need to add the include? Per
>> https://pubs.opengroup.org/onlinepubs/009695399
On Fri, Mar 13, 2020 at 12:57 AM Joel Sherrill wrote:
> Why did you need to add the include? Per
> https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_getcpuclockid.html,
> you should only have to include pthread.h and time.h to have access to the
> types needed.
>
I tried to access
Why did you need to add the include? Per
https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_getcpuclockid.html,
you should only have to include pthread.h and time.h to have access to the
types needed.
--joel
On Thu, Mar 12, 2020 at 1:22 PM Eshan Dhawan
wrote:
> Hello
> I sent thi
Hello
I sent this patch a few days ago but no one reviewed it.
If someone could look into it and give feedback.
patch link: https://lists.rtems.org/pipermail/devel/2020-March/058044.html
On Fri, Mar 6, 2020 at 7:50 PM Eshan dhawan wrote:
> ---
> cpukit/posix/src/pthreadgetcpuclockid.c | 2 +-
>
---
cpukit/posix/src/pthreadgetcpuclockid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/posix/src/pthreadgetcpuclockid.c
b/cpukit/posix/src/pthreadgetcpuclockid.c
index cd7814b1a6..159a3f9791 100644
--- a/cpukit/posix/src/pthreadgetcpuclockid.c
+++ b/cpukit/posix/sr