Open zippy opened 8 years ago
The solution to this is to add a receptor path as signal address for signals inside a VMhost.
This is now part-way done. We don't quite have a receptor_path, but it's no longer an Xaddr!
87a7b2417 adds one more step by onverting RECEPTOR_ADDRESS to a structure of which FROM_ADDRESS and TO_ADDRESS become semantic uses.
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.
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