Do i need a lock when using python multi-thread?
<p>Thank about these code:</p>

<pre><code>#!/usr/bin/env python

from threading import Thread

count = 0

def test():
    global count
    for i in range(10):
        count = count + 1

if __name__ == '__main__':
    for i in range(1000):
        Thread(target = test).start()
    print count
</code></pre>

<p>I use multi-thread, but it's result always correct, so is that mean i could use python thread without a locker when implementing something like a visitor counter ?</p>
