¡@

Home 

python Programming Glossary: self.client_running

Thread synchronization, Python

http://stackoverflow.com/questions/9521113/thread-synchronization-python

self.client client self.address address self.size 1024 self.client_running False self.running_threads self.ClientSocketLock None def run.. threading.Lock self.client.setblocking 0 self.client_running True #making two threads one for receiving messages from server..... loop is just for avoiding the script terminating while self.client_running dummy 1 #closing the threads if the client goes down print Client..