| Branch: | Tag: | Revision:

root / db / @ 52194743

History | View | Annotate | Download (4 kB)

# Date Author Comment
5db87ed5 02/15/2011 01:21 am Vangelis Koukis

Make ZMQ thread in db_controller stoppable.

Make db_controller run all 0mq operations in a separate StoppableThread
with a stop() method. The main thread calls it, then publishes on an in-proc
PUB socket to interrupt any zmq_recv() call and join the thread when cleaning...

78d9b6b7 02/10/2011 06:42 pm Vangelis Koukis

Private fields in VM model, updated fixtures

Updated names of fields pertaining to VM state in VirtualMachine model,
updated fixtures.

database.sqlite can be removed, use:

rm database.sqlite; python syncdb

to recreate it from fixtures.

21f59a5d 02/10/2011 12:35 pm Vangelis Koukis

Use zmq_recv() in dedicated thread in db_controller.

It seems Python can only do signal processing in the main thread.
If the main thread calls zmq_recv(), no exceptions get raised
when a SIGINT is received for example.

This moves the zmq_recv() to a separate thread, while the main...

86221fd5 02/09/2011 09:31 am Panos Louridas

Fix path issue.

d08a5f6f 02/08/2011 11:32 pm Vangelis Koukis

What commit b4141604 should have contained.

The proper contents of commit b4141604 are included here.

d7c1ed72 02/05/2011 09:18 pm Vassilios Karakoidas

rename dbcontrol and charger into proper python name