Karkat icon indicating copy to clipboard operation
Karkat copied to clipboard

Daemon threads.

Open svkampen opened this issue 11 years ago • 2 comments

ALERT ALERT ALERT - LARGE HADRON COLLIDER MELTDOWN - ALERT ALERT ALERT

TRACEBACK (MOST RECENT CALL LAST): File "lhc.py", line 981238, in start_detector_threads_ for thread in threads: thread.setDaemon(True) thread.start() File "lhc_detector_thread.py", line 897, in detect_particle_ 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))

svkampen avatar May 01 '13 11:05 svkampen

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?

tetrapus avatar Sep 07 '13 09:09 tetrapus

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.

svkampen avatar Sep 07 '13 10:09 svkampen