srrd/branches/multi-threaded: added locks in service_stopall_emergency(). should work, i used the known patterns. we will have to test this later on.