diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-12-31 13:01:19 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-12-31 13:01:19 +0200 |
commit | a78a167a4f74759fd291802b95193a0f39a4cb59 (patch) | |
tree | c75e322708f26523e6cdd0b30a48c48cff670478 /test/lisp/emacs-lisp/ert-tests.el | |
parent | 3b25ffa7eb59e12834a2f5155c97a9104750ecd1 (diff) | |
download | emacs-a78a167a4f74759fd291802b95193a0f39a4cb59.tar.gz emacs-a78a167a4f74759fd291802b95193a0f39a4cb59.tar.bz2 emacs-a78a167a4f74759fd291802b95193a0f39a4cb59.zip |
Serialize random number generation on MS-Windows
* src/w32.c (rand_as183): New function.
(random): Use it instead of MS runtime's 'rand'. This avoids
producing separate and identical random series in each Lisp
thread.
(srandom): Modify to supply 3 seed values to 'rand_as183'.
Diffstat (limited to 'test/lisp/emacs-lisp/ert-tests.el')
0 files changed, 0 insertions, 0 deletions