由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Another ?: Re: Keep track # of threads
相关主题
请问关于用threadPoolExecutor实现threadpool的问题?Re: How to lock a file and detect a thread is over?
问一个基础问题[转载] 现在还有什么OS不是THREAD级调度的吗?
Java NIO 问题求教java thread question
如何enumerate线程thread independent on a single-cpu machine?
做一些贡献:threadPoolThread对应的input和output问题
问个多线程的问题multi-threading guru们 (转载)
求思路多少个thread 就算不正常?
thread signaling 的一个问题怎么学multithreading/concurrency?
相关话题的讨论汇总
话题: another话题: threads话题: keep话题: track话题: port
进入Java版参与讨论
1 (共1页)
g****n
发帖数: 18
1
I wrote a server. It has a threadGroup (threadPool) keeping track of number of
threads connecting to port 5012, using group.activeCount().
The server also has another port 6012 open and uses it to communicate with a
dispatcher. This is a single thread setup. Is there a way to pass the value
group.activeCount to the thread on port 1235? I tried, but the value is not
updated everytime a client is connected to the server. I am attaching the code
as follows. Can anyone point out where something is w
1 (共1页)
进入Java版参与讨论
相关主题
怎么学multithreading/concurrency?做一些贡献:threadPool
one multi-threading question问个多线程的问题
How to control the Back, Forward...求思路
急问:怎样用JAVA实现cleint,server和dispatcher?thread signaling 的一个问题
请问关于用threadPoolExecutor实现threadpool的问题?Re: How to lock a file and detect a thread is over?
问一个基础问题[转载] 现在还有什么OS不是THREAD级调度的吗?
Java NIO 问题求教java thread question
如何enumerate线程thread independent on a single-cpu machine?
相关话题的讨论汇总
话题: another话题: threads话题: keep话题: track话题: port