I have a windows service hosting several WCF services. In my windows service I have couple objects with singleton behavior. This objects are accessible thru the WCF services from outside. A call can put a value into the objects and another call can retrieve this value.
Should I care about multithreading issues? I'm not starting any threads by myself. But anyway, should I do any locking when accessesing the singleton objects ? What about methods accessing the objects? Shouldn't they be marked as synchronized ?
EDIT Those objects are not singletons. The objects are created using IoC with singleton behavior.