/[resiprocate]/main/rutil/test/testRandomThread.cxx
ViewVC logotype

Log of /main/rutil/test/testRandomThread.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 9568 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 20 13:56:34 2012 UTC (7 years, 6 months ago) by dpocock
File length: 11335 byte(s)
Diff to previous 9090
rutil: make testRandomThread use std:: for sqrt, atoi and friends

Revision 9090 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 30 04:48:48 2011 UTC (8 years, 7 months ago) by kwhite
File length: 11314 byte(s)
Diff to previous 9043
extend random number test

* Add mode to capture all random numbers in each thread and then
  look for duplicates. Purpose is to check for thread-safety issues.
  This is a multi-threaded generalization of testRandomHex.cxx.

Revision 9043 - (view) (download) (annotate) - [select for diffs]
Added Mon Feb 28 17:40:21 2011 UTC (8 years, 8 months ago) by kwhite
File length: 8691 byte(s)
Improve rutil Random class

* Add new mode RESIP_RANDOM_THREAD_MUTEX
* Add new mode RESIP_RANDOM_THREAD_LOCAL
* Add test program testRandomThread.cxx
* Add test script sweepRandom.sh
* Add configure support for RANDOM_THREAD_LOCAL option. Configure option
  "random-thread-local" can be used to manually control. By default,
  off.
* Clarify return value of getRandom (31bits, positive)
* Optimize the RtlGenRandom() path (avoid useless bit munging)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27