chevron_left chevron_right
Login Register invert_colors photo_library


Stay updated and chat with others! - Join the Discord!
Thread Rating:
  • 0 Vote(s) - 0 Average


Heuristic Threading Test filter_list
Author
Message
Threading Test #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. Smile
Cheers.

Reply






Users browsing this thread: 1 Guest(s)