[dpdk-dev] [PATCH v9 2/2] eal: add function to check if primary proc alive

2016-03-09 Thread Thomas Monjalon
2016-03-09 13:37, Harry van Haaren: > This patch adds a new function to the EAL API: > int rte_eal_primary_proc_alive(const char *path); > > The function indicates if a primary process is alive right now. > This functionality is implemented by testing for a write- > lock on the config file, and

[dpdk-dev] [PATCH v9 2/2] eal: add function to check if primary proc alive

2016-03-09 Thread Harry van Haaren
This patch adds a new function to the EAL API: int rte_eal_primary_proc_alive(const char *path); The function indicates if a primary process is alive right now. This functionality is implemented by testing for a write- lock on the config file, and the function tests for a lock. The use case for