Hi
"All it says regarding deadlocks is that an import shouldn't spawn a thread"
Can you explain me why import math (whick don t spawn a thread) block this thread (only
one "ok" appear in terminal)?
When i remove import math, ok appears continuously in term.
I don t understand
class SyncTopAppel(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
self.running = False
def run(self):
self.running = True
while self.running:
print "ok"
import math
time.sleep(1)
def stop(self):
self.running = False
All it says regarding deadlocks is that an import shouldn't spawn a threa
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.