Skip to content

Commit 59ef4da

Browse files
committedJun 26, 2020
update README
1 parent 61fe6f6 commit 59ef4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The main thread handles incoming connections and spawns a child thread for each
3838
There is one shared data structure which is a hashmap that maps chatroom names to lists of client connections (TCP streams). This data structure is protected by a mutex and is using rust's ARC data type (ARC = Automatically referenced counted) -- a thread safe reference counting pointer.
3939

4040
When a client types a message, joins, or disconnects from a chat room the thread for which that client is running in attempts to aquire the mutex. Once the mutex
41-
is aquired the client thread will query, delete, or update the shared data store and write to each other client the desired message which corresponds to the action the client is taking (i.e. leaving chat, sending a message etc).
41+
is aquired the client thread will query, delete, or update the shared data store and write to each other client the desired message which corresponds to the action the client is taking (i.e. leaving chat, sending a message, etc).
4242

4343
## IMPROVEMENTS
4444

0 commit comments

Comments
 (0)
Please sign in to comment.