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

2016-03-04 Thread Thomas Monjalon
I'm looking into details... 2016-02-23 14:10, Harry van Haaren: > EAL > ~~~ > > +* **Added rte_eal_primary_proc_alive() function** > + > + A new function ``rte_eal_primary_proc_alive()`` has been added > + to allow the user to detect if a primary process is running. > + Use cases for this

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

2016-02-24 Thread Tahhan, Maryam
> From: Van Haaren, Harry > Sent: Tuesday, February 23, 2016 2:10 PM > To: david.marchand at 6wind.com > Cc: Tahhan, Maryam ; dev at dpdk.org; Van > Haaren, Harry > Subject: [PATCH v4] eal: add function to check if primary proc alive > > This patch adds a new function to the EAL API: > int

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

2016-02-23 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