diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2015-09-15 13:56:24 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-09-16 11:37:14 +0300 |
commit | cd1b79ada54effbbcaa98f67eb0765bb0b672c0a (patch) | |
tree | 4576f5c260ca0ff0f7bf9255125d2b2b96e2f8b1 /platform/linux-generic/include/odp_config_internal.h | |
parent | 0b797a787ff0849644c5931c38545480e9f74d2c (diff) |
api: config: removed ODP_CONFIG_MAX_THREADS
New thread API call odp_thread_count_max() replaces the
preprocessor macro in the API. A macro is still used
internally.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_config_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_config_internal.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h new file mode 100644 index 000000000..4f20ff8e0 --- /dev/null +++ b/platform/linux-generic/include/odp_config_internal.h @@ -0,0 +1,29 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * Linux-generic platform internal configuration + */ + +#ifndef ODP_CONFIG_INTERNAL_H_ +#define ODP_CONFIG_INTERNAL_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Maximum number of threads + */ +#define _ODP_INTERNAL_MAX_THREADS 128 + +#ifdef __cplusplus +} +#endif + +#endif |