diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-28 12:08:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-28 12:08:18 -0400 |
commit | 6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5 (patch) | |
tree | 207d1df4696820488a87c218c95126e422805f13 /src/lib/thread/numcpus.h | |
parent | 042df08693521a7cba990489fa03547a6e3fec4c (diff) | |
download | tor-6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5.tar.gz tor-6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5.zip |
Move compute_num_cpus to lib/thread
Diffstat (limited to 'src/lib/thread/numcpus.h')
-rw-r--r-- | src/lib/thread/numcpus.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/thread/numcpus.h b/src/lib/thread/numcpus.h new file mode 100644 index 0000000000..2899a9ec8a --- /dev/null +++ b/src/lib/thread/numcpus.h @@ -0,0 +1,11 @@ +/* Copyright (c) 2003-2004, Roger Dingledine + * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. + * Copyright (c) 2007-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +#ifndef TOR_NUMCPUS_H +#define TOR_NUMCPUS_H + +int compute_num_cpus(void); + +#endif |