Viktor Szakats
2ae90b92ba
2011-09-20 17:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
...
* include/hbapi.h
* src/rtl/hbrandom.c
+ Changed Harbour's core pseudo-random generator from STD C rand()/srand()
to superior implementation. New implementation fixed MT problems with
the standard solution on certain targets (f.e. win/mingw, win/msvc)
Based on Przemek's patch which is in turn based on algorithm by
Steve Park: http://www.cs.wm.edu/~va/software/park/ suggested by me
on the list. Further modifications:
* HB_RANDOMINTMAX() adapted. Checkme, I'm not sure about this.
* HB_RANDOMSEED() updated.
+ headers cleaned, copyright updated, note added
+ automatic seed defaulting like in previous version (checkme,
we may as well drop it, though it will be create incompatibility)
; per-thread seed didn't work well for me (even with new engine)
so I didn't implement it.
+ added proto for hb_random_seed()
2011-09-22 15:14:21 +00:00
..
2010-06-03 14:48:23 +00:00
2010-07-25 08:45:50 +00:00
2009-05-06 11:06:11 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-07-17 14:23:26 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-06-09 13:32:19 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-07-17 14:23:26 +00:00
2010-06-03 14:48:23 +00:00
2010-08-14 18:25:13 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-07-17 20:30:57 +00:00
2010-10-29 08:24:01 +00:00
2010-06-03 14:48:23 +00:00
2011-09-22 15:14:21 +00:00
2011-05-27 17:04:24 +00:00
2011-03-02 14:30:43 +00:00
2010-09-28 06:32:51 +00:00
2010-08-02 17:41:11 +00:00
2010-06-03 14:48:23 +00:00
2011-06-09 13:32:19 +00:00
2011-07-17 14:23:26 +00:00
2011-01-25 13:19:32 +00:00
2011-02-28 20:43:05 +00:00
2010-10-09 17:07:21 +00:00
2010-07-06 19:02:19 +00:00
2010-07-10 08:49:17 +00:00
2011-02-03 08:20:28 +00:00
2010-06-03 14:48:23 +00:00
2011-04-13 09:07:47 +00:00
2010-06-03 14:48:23 +00:00
2011-08-05 17:38:24 +00:00
2010-09-28 15:47:08 +00:00
2011-03-10 16:12:35 +00:00
2011-06-02 19:05:56 +00:00
2011-05-17 13:40:56 +00:00
2011-04-19 13:11:43 +00:00
2010-06-03 14:48:23 +00:00
2007-09-25 01:21:03 +00:00
2010-06-03 14:48:23 +00:00
2010-09-09 15:22:21 +00:00
2011-07-17 14:23:26 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-03-10 16:12:35 +00:00
2011-03-05 14:41:30 +00:00
2011-03-10 16:12:35 +00:00
2010-08-04 20:04:53 +00:00
2010-08-04 20:04:53 +00:00
2010-08-04 20:04:53 +00:00
2011-02-03 08:20:28 +00:00
2010-09-09 15:22:21 +00:00
2010-06-03 14:48:23 +00:00
2010-11-17 20:12:12 +00:00
2011-09-06 07:33:58 +00:00
2010-06-03 14:48:23 +00:00
2011-03-10 16:12:35 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-05-04 15:02:01 +00:00
2010-06-03 14:48:23 +00:00
2010-11-18 12:42:54 +00:00
2010-06-03 14:48:23 +00:00
2010-10-20 05:07:41 +00:00
2010-10-22 18:16:35 +00:00
2010-10-22 18:16:35 +00:00
2010-06-03 14:48:23 +00:00
2010-11-19 10:11:29 +00:00
2010-09-09 15:22:21 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-02-14 18:48:59 +00:00
2010-09-09 15:22:21 +00:00
2010-06-03 14:48:23 +00:00
2011-03-10 16:12:35 +00:00
2010-02-08 22:19:16 +00:00
2010-06-03 14:48:23 +00:00
2010-07-07 21:11:33 +00:00
2010-02-08 21:52:47 +00:00
2010-06-03 14:48:23 +00:00
2010-06-14 22:59:27 +00:00
2010-07-07 21:11:33 +00:00
2010-07-07 13:42:39 +00:00
2010-08-04 20:04:53 +00:00
2010-07-30 14:10:16 +00:00
2011-07-17 13:30:20 +00:00
2011-04-19 13:11:43 +00:00
2010-06-03 14:48:23 +00:00
2010-06-10 17:30:22 +00:00
2011-02-07 13:43:38 +00:00
2011-08-01 13:29:07 +00:00
2010-06-03 14:48:23 +00:00
2011-05-09 19:46:56 +00:00
2010-06-03 14:48:23 +00:00
2010-07-07 13:42:39 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-03-15 13:26:47 +00:00
2011-05-11 00:52:35 +00:00
2010-09-30 08:56:04 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-08-04 20:04:53 +00:00
2010-06-03 14:48:23 +00:00
2011-07-17 13:02:02 +00:00
2011-07-17 14:23:26 +00:00
2010-06-14 22:59:27 +00:00
2010-06-14 22:59:27 +00:00
2011-03-10 16:12:35 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2011-01-15 11:08:03 +00:00
2010-07-07 13:42:39 +00:00
2010-06-03 14:48:23 +00:00
2010-11-17 20:12:12 +00:00
2011-03-26 02:32:52 +00:00
2010-06-03 14:48:23 +00:00
2011-05-09 19:46:56 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-07-25 08:45:50 +00:00
2010-06-30 22:47:20 +00:00
2010-06-03 14:48:23 +00:00
2010-06-22 01:21:46 +00:00