From 5633a467a009945a4f1eb06f7ffe9f02b833567f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 17 Jan 2017 19:57:56 -0800 Subject: Pipe IDs are now tracked on global ID hashes. --- src/core/init.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/init.h') diff --git a/src/core/init.h b/src/core/init.h index 856faa3c..bae78fc3 100644 --- a/src/core/init.h +++ b/src/core/init.h @@ -21,4 +21,11 @@ extern int nni_init(void); // that all resources used by the library are released back to the system. extern void nni_fini(void); +// Private hash tables matching IDs to values. Consumers need to use the +// nni_idlock to protect access to these. +nni_idhash *nni_endpoints; +nni_idhash *nni_pipes; +nni_idhash *nni_sockets; +nni_mtx *nni_idlock; + #endif // CORE_INIT_H -- cgit v1.2.3-70-g09d2