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
相关问题
- How to let a thread communicate with another activ
- Why it isn't advised to call the release() met
- ThreadPoolTaskScheduler behaviour when pool is ful
- Custom TaskScheduler, SynchronizationContext?
- Too many Garbage collection threads
相关文章
- Difference between Thread#run and Thread#wakeup?
- Java/Spring MVC: provide request context to child
- Threading in C# , value types and reference types
- RMI Threads prevent JVM from exiting after main()
- Async task does not work properly (doInBackground
- Android, Volley Request, the response is blocking
- parallelizing matrix multiplication through thread
- Android- Thread.join() causes Application to hang
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.