Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在服务器端运行一个线程池并想在客户端显示线程工作进度。这可能吗。如果是这样,请指导我。提前谢谢
是的,在主线程中检查更新(或得到工作线程的通知),然后通过 TCP 套接字发送报告进度(或者如果在同一台机器上使用进程间通信)。
客户端在收到信息时对其进行解析,并相应地更新 GUI/Progress。