From: Stephen D. <sd...@gm...> - 2012-10-10 10:11:42
|
On Wed, Oct 10, 2012 at 10:09 AM, Gustaf Neumann <ne...@wu...> wrote: > > Using a "_ns_set" capable of handling "-shared" which just calls > existing "ns_set" with the unlocked semantics would not work, > using a lock with for all "_ns_set" commands is not good either > without modifying the existing "ns_set" semantics (one should > not be able to access variables created by "_ns_set" from > "ns_set"). If we check for the shared flag in "ns_set", we are > essentially at the old "ns_set" implementation. I was thinking that the 2 or 3 people in the world that need backward compatibility would load the nsshare module and then: rename _ns_set ns_set You wouldn't use them both, you just want your old code to work the way it did in 1999. |