smbinterp/bin/results.py
2011-03-03 00:03:52 -07:00

20 lines
357 B
Python

#!/usr/bin/env python
from multiprocessing.managers import BaseManager
import numpy as np
import interp.bootstrap
class QueueManager(BaseManager): pass
QueueManager.register('get_outqueue')
m = QueueManager(address=('gannon', 50000), authkey='asdf')
m.connect()
if __name__ == '__main__':
outq = m.get_outqueue()
while True:
print outq.get()