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: Jozsef Bakosi <jbakosi AT lanl.gov>
- To: Phil Miller <mille121 AT illinois.edu>
- 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 14:55:29 -0700
- Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=jbakosi AT lanl.gov
Thanks, Phil,
Good that you mention insert. What if I call insert on an element and also put
in a call to an entry method foo of the same element. Will the constructor be
still called before foo?
J
On 12.07.2017 15:43, Phil Miller wrote:
> 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
> <[1]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.