Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-10-30 Thread Sebastian Huber
On 30/10/15 07:50, Sebastian Huber wrote: How is this tackled in the glibc/Linux support? Is the exact layout of the structures really interesting for Ada? I guess its sufficient to tell Ada the size and alignment of pthread_attr_t for example. It would be good to have test cases that ensure

Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-10-30 Thread Sebastian Huber
On 30/10/15 09:53, Jan Sommer wrote: Am Friday 30 October 2015, 07:50:16 schrieb Sebastian Huber: >How is this tackled in the glibc/Linux support? Is the exact layout of >the structures really interesting for Ada? I guess its sufficient to >tell Ada the size and alignment of pthread_attr_t for

Re: [PATCH 1/2] Include stackimpl.h otherwise PTHREAD_MINIMUM_STACK_SIZE cannot be evaluated

2015-10-30 Thread Sebastian Huber
I fixed the commit message and check it in on master and 4.11 branch. On 29/10/15 22:10, Jan Sommer wrote: --- cpukit/libgnat/adasupp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libgnat/adasupp.c b/cpukit/libgnat/adasupp.c index a6e1f38..662b1cc 100644 ---

Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-10-30 Thread Jan Sommer
Am Friday 30 October 2015, 07:50:16 schrieb Sebastian Huber: > How is this tackled in the glibc/Linux support? Is the exact layout of > the structures really interesting for Ada? I guess its sufficient to > tell Ada the size and alignment of pthread_attr_t for example. > In Linux they do it