issues
search
rlhelinski
/
musicbrainz-catalog
Python code for cataloging your music collection cross-referenced with MusicBrainz
GNU General Public License v2.0
2
stars
0
forks
source link
Simplify threading
#57
Open
rlhelinski
opened
9 years ago
rlhelinski
commented
9 years ago
Where possible:
Instead of sub-classing
threading.Thread
, use
Thread(target=callable).start()
When a parent thread is immediately calling join() on a child thread, use a function call instead (and have one less thread)
Where possible:
threading.Thread
, useThread(target=callable).start()