Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • The reason for multithreading is that i can have a main thread for in/output which is in my console and having (several) background threads performing chat related commands. I'll have a look at your suggested code. Thank you ! Commented Jun 22, 2012 at 10:21
  • @Roberto: That makes sense, you might want to have a look at BackgroundWorkers, they offer a simplified mechanism for threading and could easily be integrated with the code above to provide you what you're looking for. (i.e. a non-blocking background command) Commented Jun 25, 2012 at 16:07