diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-02-18 19:24:15 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-02-18 19:25:14 -0800 |
| commit | 2944f3a2634876e543003fabb05cba1b178df6aa (patch) | |
| tree | a9a5aba5aec0ff1028e1a4d5815939887d406bb5 /src/core/random.h | |
| parent | f42f22abf488d30d4d68a8ab57063c48d618948d (diff) | |
| download | nng-2944f3a2634876e543003fabb05cba1b178df6aa.tar.gz nng-2944f3a2634876e543003fabb05cba1b178df6aa.tar.bz2 nng-2944f3a2634876e543003fabb05cba1b178df6aa.zip | |
Taskq implementation.
Diffstat (limited to 'src/core/random.h')
| -rw-r--r-- | src/core/random.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/random.h b/src/core/random.h index cf365380..33229b09 100644 --- a/src/core/random.h +++ b/src/core/random.h @@ -10,12 +10,12 @@ #ifndef CORE_RANDOM_H #define CORE_RANDOM_H -// nni_random_init initializes the pRNG subsystem. This includes obtaining +// nni_random_sys_init initializes the pRNG subsystem. This includes obtaining // suitable seeding material from the platform. -extern int nni_random_init(void); +extern int nni_random_sys_init(void); -// nni_random_fini destroys the pRNG subsystem. -extern void nni_random_fini(void); +// nni_random_sys_fini destroys the pRNG subsystem. +extern void nni_random_sys_fini(void); // nni_random returns a random 32-bit integer. Note that this routine is // thread-safe/reentrant. The pRNG is very robust, should be of crypto |
