Lines Matching defs:threadSafe
158 nsHashtable::nsHashtable(PRUint32 aInitSize, PRBool threadSafe)
172 if (threadSafe) {
303 PRBool threadSafe = (mLock != nsnull);
304 nsHashtable *newHashTable = new nsHashtable(mHashtable.entryCount, threadSafe);
366 PRBool threadSafe;
367 nsresult rv = aStream->ReadBoolean(&threadSafe);
369 if (threadSafe) {
437 PRBool threadSafe = (mLock != nsnull);
438 nsresult rv = aStream->WriteBoolean(threadSafe);
741 PRUint32 aSize, PRBool threadSafe)
742 : nsHashtable(aSize, threadSafe),
778 PRBool threadSafe = PR_FALSE;
780 threadSafe = PR_TRUE;
784 mHashtable.entryCount, threadSafe);
880 PRBool threadSafe = (mLock != nsnull);
882 new nsSupportsHashtable(mHashtable.entryCount, threadSafe);