Python Forum
Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
threading.active_count()
#3
Solved with a simple 'return' at the end of the def being threaded.

I haven't seen a threading example anywhere yet that says you should always 'return' even if there is no return value.

But, now I know. I hope this might be of some use to others.
Reply


Messages In This Thread
threading.active_count() - by MuntyScruntfundle - Dec-14-2018, 05:11 PM
RE: threading.active_count() - by Gribouillis - Dec-14-2018, 05:29 PM
RE: threading.active_count() - by MuntyScruntfundle - Dec-14-2018, 05:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Concurrent futures threading running at same speed as non-threading billykid999 13 2,218 May-03-2023, 08:22 AM
Last Post: billykid999
  Tutorials on sockets, threading and multi-threading? muzikman 2 2,236 Oct-01-2021, 08:32 PM
Last Post: muzikman

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020