mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-12 00:23:08 -04:00
added function for generating random ascii strings, and improved the test program to test for this as well
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3992 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
13132fe248
commit
25056b3623
3 changed files with 18 additions and 1 deletions
|
@ -132,6 +132,7 @@ int main(int argc, char **argv)
|
|||
feenableexcept(FE_INVALID) ;
|
||||
feenableexcept(FE_DIVBYZERO) ;
|
||||
#endif
|
||||
std::cerr << "Generating random 64 chars string (run that again to test that it's changing): " << RSRandom::random_alphaNumericString(64) << std::endl;
|
||||
int nt = 10 ; // number of threads.
|
||||
std::vector<myThread *> threads(nt,(myThread*)NULL) ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue