charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Phil Miller <mille121 AT illinois.edu>
- To: Hrushit Parikh <parikhhrushit AT hotmail.com>
- Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
- Subject: Re: [charm] Interrupt Messages in Charm
- Date: Sat, 21 Jun 2014 17:15:39 -0500
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Hi Hrushit,
You've understood correctly - execution of Charm++ application code is entirely non-preemptive.
If you have code in which you strongly wish to cooperatively schedule work, an object's method can send itself another message and return to the scheduler, or (if using the [threaded] attribute) yield to the scheduler by calling CthYield().
http://charm.cs.illinois.edu/manuals/html/charm++/10.html#SECTION02130000000000000000
Phil
On Sat, Jun 21, 2014 at 4:42 PM, Hrushit Parikh <parikhhrushit AT hotmail.com> wrote:
Hey,
I have recently started using charm and from the few papers I'v read about the charm language and run time system Iv noticed a mention that a processor(chare) executing a message cannot be interrupted or preemted. Is this correct? Is there any way of interrupt or even driven messaging in charm? Or can a particular message be given the highest priority of execution after the current message finishes execution?
Which papers/manuals could I refer to for more information about the messaging infrastructure in charm?
Thank you,
HrushitÂ
_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm
- [charm] Interrupt Messages in Charm, Hrushit Parikh, 06/21/2014
- Re: [charm] Interrupt Messages in Charm, Phil Miller, 06/21/2014
Archive powered by MHonArc 2.6.16.