Generating sequences based on activity on other interfaces

I will also need to do what is described in this topic. I think a section in the cookbook about this topic would be very usfull. About using the config db to share info between different agents: how would you guarantee deterministic simulation behaviour?
I assume the simulator can schedule the access to the config db for the different agents in any order. So if you for example would just use an int or so to put in the config db and use this as shared resource I would think you can get different simulation behaviour depending on in what order the simulator chooses to call the agent threads?

Is this indeed a problem?

If so, how to solve this? Using something uvnm_event based, doing NBA into the config_db (is this possible?), …