zippy / ceptr

(a recomposable medium for distributed social computing) || (semantic self-describing protocol stacks)
http://ceptr.org
GNU General Public License v3.0
88 stars 17 forks source link

fix receptor delivery addressing #32

Open zippy opened 8 years ago

zippy commented 8 years ago

Currently signals are delivered via __r_deliver_signals which uses the receptor xaddr as looked up in an instances data structure to figure out which receptor to deliver the signal to. This doesn't really work. We have to have a hierarchical resolution mechanism to go up the receptor instances chain, or something like that

zippy commented 8 years ago

The solution to this is to add a receptor path as signal address for signals inside a VMhost.

zippy commented 8 years ago

This is now part-way done. We don't quite have a receptor_path, but it's no longer an Xaddr!

zippy commented 8 years ago

87a7b2417 adds one more step by onverting RECEPTOR_ADDRESS to a structure of which FROM_ADDRESS and TO_ADDRESS become semantic uses.

zippy commented 8 years ago

as of 11d928eacef9 RECEPTOR_ADDRESS can optionaly be a RECEPTOR_ADDR which is is ReceptorAddress (c structure) which is a unique identifier for routing receptors within the vmhost.