Skip to Content.
Sympa Menu

charm - [charm] how to suspend/resume a chare ?

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] how to suspend/resume a chare ?


Chronological Thread 
  • From: Christian Perez <christian.perez AT inria.fr>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] how to suspend/resume a chare ?
  • Date: Thu, 20 May 2010 10:58:46 +0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
  • Organization: INRIA/LIP

Hello,

I'd like to know how to block a thread. Here is a simple version of what I'd like to do:

Chare A:
m1() {
do some computation
invoke method m2 on chare B
wait for the completion of method m2
do something else
}

I've tried to use some callback mechanism but the problem is that
I can not split m1 in two :(

So, is there a wait to suspend the execution (and also how to resume it) ?

Thank you!

Christian Perez





Archive powered by MHonArc 2.6.16.

Top of Page