# Lame threading querry

**URL:** https://forum.highend3d.com/t/lame-threading-querry/48727
**Category:** Maya
**Tags:** python
**Created:** [October 14, 2009, 12:31am UTC](https://forum.highend3d.com/t/lame-threading-querry/48727 "2009-10-14T00:31:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wrend](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/w/74df32/32.png) [@wrend](https://forum.highend3d.com/u/wrend)
#### Post date: [October 14, 2009, 12:31am UTC](https://forum.highend3d.com/t/lame-threading-querry/48727/1 "2009-10-14T00:31:36Z")

</div>

When a class derived from threading.Thread completes the code block in its run() method, the thread will then be closed/killed/terminated, right? I don't need to worry about this after its finished, it'll be handled by the class? (or is it simply cleaned up naturally like any other code execution?). Exceptions in the run() block would also kill the thread... its only if the thread is looping/hanging endlessly that you'd need to intervene and kill it yourself? Just a very new to threads, and dont want accidently populated people's boxes with a glut of hanging threads. All I'm doing is setting off an FTP transfer in the 'background' using ftplib.

Thanks.

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [October 14, 2009, 9:10am UTC](https://forum.highend3d.com/t/lame-threading-querry/48727/2 "2009-10-14T09:10:59Z")

</div>

If you do not specify otherwise yes.
