In the current state of things (assuming the C stack isn't made re-entrant), calling the processing function at the same time as another thread would cause some nasty memory issues.
On Tue, 2015-02-17 at 13:07 -0800, Thiago Macieira wrote: > On Tuesday 17 February 2015 13:04:00 Keane, Erich wrote: > > > Why would there be performance problems by running multiple threads that > > > handle sockets? > > > > Not that they have their own sockets, but the issue would be if each is > > expecting to run their own thread for the message pump (which needs to > > be protected by a mutex!) that we would have significant issues. > > I don't get it. > > If the two are totally independent, then why would they need a mutex? >