how to know how meany threads are there

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By abdolilah

i know that there are a way to make a multi thread game
but pc’s have difirent numbers of threads depending on the cpu they run
so how to know how meany threads are on a pc from the godot engine

:bust_in_silhouette: Reply From: jgodfrey

While it’s not really threads, I think this is what you’re really asking for, maybe?

print(OS.get_processor_count())