471,350 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

external access to instances

I have an application which is running in a loop(client/server app using
twisted and reactor) and where are kept list of instances in memory.
Each instance has it's own loop and it periodically sends requests to
given network endpoints.
I would like to use a tool(module) which accesses this list of instances
and the access would be quite occasional because it would be based
on committing changes manually.
How could I get to the list of instances since the tool is not running
in the main loop of the application?
There should be probably something listening in the main loop and if I
want to commit changes it would access the main loop and add or delete
an instance from the list. (adding and deleting is against database so I
just need simply to run the function in the main loop which will do the

Any ideas with working approach?

Thank you.

Oct 11 '07 #1
0 856

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

47 posts views Thread by Richard Hayden | last post: by
166 posts views Thread by Graham | last post: by
10 posts views Thread by Stefan Weber | last post: by
reply views Thread by debasisdas | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.