Hi Konstantina,

In the generated C code, you'll find the definition for the struct 
"chpl____wide__EndCount" in chpl__header.h.

The "addr" field has the type "chpl___EndCount", which is a pointer to the 
struct that represents the "_EndCount" class from the ChapelBase internal 
module.

These "wide" wrapper structs are generated in the insertWideReferences pass in 
the compiler.

-Ben

From: <Panagiotopoulou>, Konstantina <[email protected]<mailto:[email protected]>>
Date: Tuesday, June 2, 2015 at 11:22 AM
To: 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Chapel-developers] chpl_wide_EndCount

Hello,

Could someone point me to the def of wide_endCounts?

Looking at C intermediate source I see that there are two attributes

.locale and .addr

Supposing .locale is the parent locale where the endCount is allocated, what is 
.addr?

Regards,
Konstantina
________________________________
From: Panagiotopoulou, Konstantina
Sent: 02 June 2015 19:20
To: 
[email protected]<mailto:[email protected]>
Subject: chpl_wide_EndCount

Hello,

Could someone point me to the def of wide_endCounts?

Looking at C intermediate source I




We invite research leaders and ambitious early career researchers to join us in 
leading and driving research in key inter-disciplinary themes. Please see 
www.hw.ac.uk/researchleaders for further information and how to apply.

Heriot-Watt University is a Scottish charity registered under charity number 
SC000278.
------------------------------------------------------------------------------
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to