def num_threads():
'''add information about the number of threads currently running to the
event'''
return threading.activeCount()
# run factorial. libh_builder comes with some fields already populated
# (namely, "version", "num_threads", and "range")
评论列表
文章目录