简体   繁体   English

Python多线程是本地还是非本地?

[英]Python multithreading local or not?

I am new to Python and am making this game which I want other people to be able to connect to; 我是Python的新手,正在制作这个游戏,希望其他人可以连接到它; I looked into multi-threading but couldn't find whether this is local host only or if people are able to join from their own location that could be miles away? 我研究了多线程,但找不到这是否仅是本地主机,或者人们是否能够从可能相距数英里的自己所在的位置加入?

No. 没有。

Multithreaded programming is host-oriented, as threads are regulated locally--meaning that it doesn't work over the internet. 多线程编程是面向主机的,因为线程是在本地进行监管的-这意味着它无法通过Internet工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM