Subj : Re: automatic variable that holds JSAtom* in JS_DefineFunction() To : netscape.public.mozilla.jseng From : John Bandhauer Date : Tue Mar 11 2003 06:19 pm FWIW, I compiled this on windows against a trunk build that is about 2 months old. It did not crash for me. The commandline I used to compile was: cl /I x:\mozilla\dist\include /I x:\mozilla\js\src /Zi /DXP_PC /DWIN32 /DJS_THREADSAFE compileinthread.cpp nspr_rw.cpp wljsobjects.cpp /link /LIBPATH:x:\mozilla\dist\lib js3250.lib nspr4.lib John. itaj sherman wrote: > attached is the same test program now uses NSPR threads support. > this test program crashes in 4 seconds on my machine. > > compile the files. > run it given the js files as command line parameters, like that: > compileinthreads.exe x3.js x4.js > it asks how many threads to run, any number 1-20 crashes in a few seconds on > my machine. > > if it doesn't crash, to stop it type anything and press enter (it waits on > scanf). > it will print "no more threads" when all threads end. > then you can type something and press enter again to close it. > > please let me know if you could reproduce. > > thanks > itaj > > .