Documentation #1777

Document message types in Charm's message hander (_processHandler in ck.C)

Added by Nitin Bhat over 1 year ago. Updated 4 months ago.

Target version:
Start date:
Due date:
% Done:



Sanjay's description of NewChareMsg, NewVChareMsg & ForVidMsg (given on slack).

These are both related to singleton chares (as opposed to chare arrays). The kind you’d generate in a fibonacci program. NewChareMsg is for creation of a new singleton chares. As to Vid (virtual id): When a chare X creates chare Y, it gets a proxy (say P) back. But Y is not yet created. it is just a seed for a new chare given to the seed balancer (say via CldEnque). So the proxy is not real. It is a virtual id. If you send a message to P, the system will buffer it at the processor that houses the vid (in case X sends the message to P, it is on the same processor as X, but note that P is a first class object, which can be sent around to another processor). The Virtual ID pointed to by P will simply buffer the messages sent to it, until it knows the real ID. When the real chare Y is created on some processor, it sends a message to the virtual ID (represented by P), so all the buffered messages can be forwarded to the real chare. After that, the Virtual chare will just forward messages to the real chare without buffering. ForVidMsg are messages for this virtual (buffering) chare.


#1 Updated by Sam White over 1 year ago

  • Target version set to 6.9.1
  • Assignee set to Nitin Bhat
  • Category set to Documentation

#2 Updated by Eric Bohm 4 months ago

  • Target version changed from 6.9.1 to 6.10.0

#3 Updated by Nitin Bhat 4 months ago

  • Status changed from New to Implemented

#4 Updated by Nitin Bhat 4 months ago

  • Status changed from Implemented to Merged

Also available in: Atom PDF