For variables like what you describe, DSN, and other settings, you can set
and read w/o using lock at all.
This is assuming that you don't care if multiple threads initialize the
values, and again, for things like settings, most of the time you don't
care.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

