ioservice with multiple threads

just Mutex when in the dev namespace