Hello, I don't really understand how component_shared is supposed to work.
We are told to set the start and end to 0, which is fine but does that mean we should also reset the memory of the component then? Since once we give it a pointer to the new memory it will never remember it's old one? (so in a way should we do a "garbage collection"?)
Also we are told that the first component_t c should take the memory of component_t c_old, but in that case should we also give c the starting and ending adresses in the bus of c_old?
Thank you for any clarifications,
Zacharie Mizeret