Changed how io_service interacts with threads
Authored by: artyom-beilis 2011-09-15
Parent: [r1974]
Child: [r1976]