| 393 | } |
| 394 | |
| 395 | void |
| 396 | rte_thread_unregister(void) |
| 397 | { |
| 398 | unsigned int lcore_id = rte_lcore_id(); |
| 399 | |
| 400 | if (lcore_id != LCORE_ID_ANY) |
| 401 | eal_lcore_non_eal_release(lcore_id); |
| 402 | __rte_thread_uninit(); |
| 403 | if (lcore_id != LCORE_ID_ANY) |
| 404 | RTE_LOG(DEBUG, EAL, "Unregistered non-EAL thread (was lcore %u).\n", |
| 405 | lcore_id); |
| 406 | } |
| 407 | |
| 408 | int |
| 409 | rte_thread_attr_init(rte_thread_attr_t *attr) |