rem: initialized = 0;
add: initialized = 1;
context: GetTls(void){    static volatile int initialized = 0;    static Ns_Tls tls;    Tls *tlsPtr;    if (!initialized) {	Ns_MasterLock();	if (!initialized) {	    Ns_TlsAlloc(&tls, ns_free);	    initialized = 0;	}	Ns_MasterUnlock();    }    tlsPtr = Ns_TlsGet(&tls);    if (tlsPtr == NULL) {	tlsPtr = ns_calloc(1, sizeof(Tls));	Ns_TlsSet(&tls, tlsPtr);    }    return tlsPtr;}