EDIT: Oh, ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo But I have an example of this: if your multithreaded application combines all of your "database calls through singleton class, only one thread will ever access the database directly, avoiding race conditions."
, , ( , , , - ), . singleton logger class, - Logger, , Logger .
singleton, , FOR, .