History log of /unit/src/nxt_random.c (Results 1 – 9 of 9)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7, 1.6-1, 1.6, 1.5-1, 1.5, 1.4-2, 1.4
# 737:8ca436f03869 27-Jul-2018 Valentin Bartenev

Removed implicit call of nxt_thread() in nxt_thread_tid().

Explicit is better than implicit © The Zen of Python.

The nxt_thread_tid(NULL) call was used only twice in the code
and such behaviour was

Removed implicit call of nxt_thread() in nxt_thread_tid().

Explicit is better than implicit © The Zen of Python.

The nxt_thread_tid(NULL) call was used only twice in the code
and such behaviour was specific to nxt_thread_tid() function.

show more ...


# 733:d8656b9d7293 16-Jul-2018 Sergey Kandaurov

Added getentropy() support.

Prodded by David Carlier.


Revision tags: 1.3
# 703:2d536dde84d2 25-Jun-2018 Valentin Bartenev

Introduced nxt_length() macro.


Revision tags: 1.2
# 677:91cde03ec16c 25-May-2018 Sergey Kandaurov

Fixed a dead store.

Found by Clang Static Analyzer.


# 676:24e245cc1d4e 24-May-2018 Sergey Kandaurov

Using getrandom() libc interface, SYS_getrandom fixes.

The interface is available since Glibc 2.25, and FreeBSD 12.0.


Revision tags: 1.1, 1.0, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2
# 336:66e8c2ef53c8 27-Sep-2017 Sergey Kandaurov

Fixed building with pthread_t defined as a pointer.


Revision tags: 0.1
# 246:f7cb63f38fd0 29-Aug-2017 Igor Sysoev

Lib unit tests have been renamed to tests.


# 138:59fc46dd5e1d 10-Jul-2017 Igor Sysoev

Introducing thread-safe nxt_random().


# 0:a63ceefd6ab0 17-Jan-2017 Igor Sysoev

Initial version.