Open svkampen opened 11 years ago
Instead of daemon threads, I'm thinking of trying to switch over to a multiprocessing approach, or run it on a variant of python without the GIL. Thoughts?
Both seem good. The GIL is a pain. Jython would work, but you'd have all the JVM bloat. I think PyPy has a non-GIL version in the making.
ALERT ALERT ALERT - LARGE HADRON COLLIDER MELTDOWN - ALERT ALERT ALERT
TRACEBACK (MOST RECENT CALL LAST): File "lhc.py", line 981238, in start_detectorthreads for thread in threads: thread.setDaemon(True) thread.start() File "lhc_detector_thread.py", line 897, in detectparticle return Particle(data[0], data[1], data[2:4]) File "lhc_particle.py", line 332, in init raise ParticleException("God does not exist. %s" % (self))