run threads on server side & show progress on clie

2019-08-06 09:06发布

I want to run a thread pool on server side & want to show threads work progress on client side. Is this possible. If so kindly guide me. thanx in advance

1条回答
时光不老,我们不散
2楼-- · 2019-08-06 09:34

Yes, in the main thread check for updates (or get notified by the worker threads) and then send the report progress over TCP Sockets (or using interprocess communications if on the same machine).

On the client side parse the information when you receive it, and update the GUI/Progress accordingly.

查看更多
登录 后发表回答