[dpdk-dev] [PATCH v9 2/2] eal: add generic thread-local-storage functions
Dmitry Kozlyuk
dmitry.kozliuk at gmail.com
Thu Jan 7 15:46:28 CET 2021
On Wed, 6 Jan 2021 22:35:53 +0200, Tal Shnaiderman wrote:
[...]
> +int
> +rte_thread_tls_key_create(rte_tls_key *key, void (*destructor)(void *))
> +{
> + int err;
> +
> + *key = malloc(sizeof(**key));
> + if ((*key) == NULL) {
> + RTE_LOG(DEBUG, EAL, "Cannot allocate TLS key.");
Missing "\n", same for Windows part.
Aside from this nit, for series,
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
More information about the dev
mailing list