You might be right, but the reason why I chose a hashtable is that it offers synchronization implicitly. Besides, there is only one thread currently that accesses the table. The server owns the table, and the thread that processes the requests, stores and retrieves the information from the...
I am working (for my study) on a multithreaded server program. The server is supposed to respond to a client request (in the form of a character) with a response, depending on the value of the request character. I need to store all client activity in a table, which I chose to be a Hashtable. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.