Re: [PATCH v1] include sys/types.h to include defination of clockid_t

2020-03-12 Thread Eshan Dhawan
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

Re: [PATCH v1] include sys/types.h to include defination of clockid_t

2020-03-12 Thread Joel Sherrill
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

Re: [PATCH v1] include sys/types.h to include defination of clockid_t

2020-03-12 Thread Eshan Dhawan
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

Re: [PATCH v1] include sys/types.h to include defination of clockid_t

2020-03-12 Thread Eshan Dhawan
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

Re: [PATCH v1] include sys/types.h to include defination of clockid_t

2020-03-12 Thread Joel Sherrill
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

Re: [PATCH v1] include sys/types.h to include defination of clockid_t

2020-03-12 Thread Eshan Dhawan
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 +- >

[PATCH v1] include sys/types.h to include defination of clockid_t

2020-03-06 Thread Eshan dhawan
--- 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