Threading Test 03-31-2016, 07:02 PM
#1
Lately, when I've been working on my Proxy Checker (GitHub repo), I've had to use multi-threading.
Threads can sometimes be a pain to get working consistently, so I decided to share this bit of code I wrote this morning in order to better understand threading in Python.
I don't use the Queue library, although it can be used. For me, using Queue in connection with threading was overly confusing.
You can find the code here: (because the CloudFlare WAF blocked me again! @Oni?)
https://gist.github.com/M0dem/ef7c4c1816...56233938b9
I hope someone may find this to be useful.
Cheers.
Threads can sometimes be a pain to get working consistently, so I decided to share this bit of code I wrote this morning in order to better understand threading in Python.
I don't use the Queue library, although it can be used. For me, using Queue in connection with threading was overly confusing.
You can find the code here: (because the CloudFlare WAF blocked me again! @Oni?)
https://gist.github.com/M0dem/ef7c4c1816...56233938b9
I hope someone may find this to be useful.

Cheers.





![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)