title: What's the difference of Event and Lock in python threading module?
body: <p>Does <code>Event</code> and <code>Lock</code> do the same thing in these scenes?</p>
  
  <pre><code>class MyThread1(threading.Thread):
      def __init__(event):
          self.event = event
  
      def run(self):
          self.event.wait()
          # do something
          self.event.clear()
  </code></pre>
  
  <p>another:</p>
  
  <pre><code>class MyThread2(threading.Thread):
      def __init__(lock):
          self.lock = lock
  
      def run(self):
          self.lock.acquire()
          # do something
          self.lock.release()
  </code></pre>