[visionegg] VisionEgg and Threads?
- From: Thomas Schreiner <thomas.schreiner@xxxxxxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Thu, 30 Aug 2007 20:38:21 +0200
Hi,
we are trying to run VisionEgg in a threaded environment to integrate it
with our current Brain-Computer-Interface system. We are using the
python threading module in order to let VisionEgg share memory with our
data acquisition thread.
So far, we have not been successfull - VisionEgg doesn't like to be put
into a thread. If we do so by calling p.go() from inside a python
thread, the start frame of the graphical presentation is displayed but
is not updating at all. If we call p.go() from the main part of the
program and leave out threading, it works perfectly, but it blocks our
other python threads - they just don't run.
Is VisionEgg unable to run in a threaded environment? Can anybody else
see the issue? If you want, I can send a minimal code snippet that
reproduces the bug.
We could of course put VE into a separate processes and send the data
through sockets, but that somehow breaks the nice and easy way of just
putting the objects we need into shared memory.
Thanks for any ideas / inspiration,
Thomas
--
Thomas Schreiner, AGBS
Max Planck Institute for Biological Cybernetics
72076 Tuebingen / Germany
+49 7071 601 536
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: VisionEgg and Threads?
- From: Andrew Straw
Other related posts:
- » [visionegg] VisionEgg and Threads?
- » [visionegg] Re: VisionEgg and Threads?
- » [visionegg] Re: VisionEgg and Threads?
- [visionegg] Re: VisionEgg and Threads?
- From: Andrew Straw