charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
Re: [charm] Is the constructor guaranteed to be called before a member function?
Chronological Thread
- From: Phil Miller <mille121 AT illinois.edu>
- To: Jozsef Bakosi <jbakosi AT lanl.gov>
- Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
- Subject: Re: [charm] Is the constructor guaranteed to be called before a member function?
- Date: Thu, 7 Dec 2017 15:43:31 -0600
- Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=unmobile AT gmail.com
Yes, for any given element of the array. Creation of an element (as opposed to the asynchronous call to insert it) and execution of its constructor happen as a single unit.
It is possible for entry methods called on one element to precede construction of other elements - there's no synchronization between elements
On Thu, Dec 7, 2017 at 3:39 PM, Jozsef Bakosi <jbakosi AT lanl.gov> wrote:
Hi folks,
Is a constructor guaranteed to be scheduled before any other entry method of a
chare array? (Even with randomized message queues?)
Thanks,
Jozsef
- [charm] Is the constructor guaranteed to be called before a member function?, Jozsef Bakosi, 12/07/2017
- Re: [charm] Is the constructor guaranteed to be called before a member function?, Phil Miller, 12/07/2017
- Re: [charm] Is the constructor guaranteed to be called before a member function?, Jozsef Bakosi, 12/07/2017
- Re: [charm] Is the constructor guaranteed to be called before a member function?, Phil Miller, 12/07/2017
- Re: [charm] Is the constructor guaranteed to be called before a member function?, Jozsef Bakosi, 12/07/2017
- Re: [charm] Is the constructor guaranteed to be called before a member function?, Phil Miller, 12/07/2017
- Re: [charm] Is the constructor guaranteed to be called before a member function?, Jozsef Bakosi, 12/07/2017
- Re: [charm] Is the constructor guaranteed to be called before a member function?, Phil Miller, 12/07/2017
Archive powered by MHonArc 2.6.19.