Searched defs:hammer (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/
H A Dranfile.cpp44 ** Description: Test to hammer on various components of NSPR
279 static Hammer* hammer[100]; variable
376 hammer[active] = new Hammer(thread_scope, &ml, &cv, limit);
377 hammer[active]->Start(); /* then make it roll */
389 if (hammer[poll]->action == HammerData::sg_go) /* don't overwrite done */
390 hammer[poll]->action = HammerData::sg_stop; /* ask him to stop */
399 while (hammer[poll]->action < HammerData::sg_done) cv.Wait();
402 if (hammer[poll]->problem == HammerData::sg_okay)
404 duration = RCInterval(RCInterval::now) - hammer[poll]->timein;
405 writes = hammer[pol
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dranfile.c44 ** Description: Test to hammer on various components of NSPR
246 static Hammer_t hammer[100]; variable
354 hammer[active].ml = ml;
355 hammer[active].cv = cv;
356 hammer[active].id = id++;
357 hammer[active].writes = 0;
358 hammer[active].action = sg_go;
359 hammer[active].problem = sg_okay;
360 hammer[active].limit = (Random() % limit) + 1;
361 hammer[activ
[all...]

Completed in 248 milliseconds