Re: [lng-odp] [PATCH 1/5] validation: shm: move main() to a common place

2014-12-02 Thread Taras Kondratiuk
On 12/01/2014 08:52 PM, Mike Holmes wrote: On 1 December 2014 at 12:05, Taras Kondratiuk taras.kondrat...@linaro.org mailto:taras.kondrat...@linaro.org wrote: + +int main(void) +{ + int ret; + + printf(\tODP API version: %s\n, odp_version_api_str()); +

Re: [lng-odp] [PATCH 1/5] validation: shm: move main() to a common place

2014-12-02 Thread Maxim Uvarov
On 12/01/2014 09:52 PM, Mike Holmes wrote: On 1 December 2014 at 12:05, Taras Kondratiuk taras.kondrat...@linaro.org mailto:taras.kondrat...@linaro.org wrote: Most of test application will have the same main function. Move main() from odp_shm to a common place where it can be reused

Re: [lng-odp] [PATCH 1/5] validation: shm: move main() to a common place

2014-12-02 Thread Mike Holmes
We discussed this along with Petris additional ideas on modifying termination. This patch is ok in concept, but I did not do an actual code review myself yet. The rationale is that we have a broad range of SDKs that respond differently to the concept of restarting in the same process, so for 1.0

Re: [lng-odp] [PATCH 1/5] validation: shm: move main() to a common place

2014-12-02 Thread Mike Holmes
On 1 December 2014 at 12:05, Taras Kondratiuk taras.kondrat...@linaro.org wrote: Most of test application will have the same main function. Move main() from odp_shm to a common place where it can be reused by other test applications. Unifying main() will also simplify transition to a combined

[lng-odp] [PATCH 1/5] validation: shm: move main() to a common place

2014-12-01 Thread Taras Kondratiuk
Most of test application will have the same main function. Move main() from odp_shm to a common place where it can be reused by other test applications. Unifying main() will also simplify transition to a combined single test application in future. Signed-off-by: Taras Kondratiuk

Re: [lng-odp] [PATCH 1/5] validation: shm: move main() to a common place

2014-12-01 Thread Mike Holmes
On 1 December 2014 at 12:05, Taras Kondratiuk taras.kondrat...@linaro.org wrote: Most of test application will have the same main function. Move main() from odp_shm to a common place where it can be reused by other test applications. Unifying main() will also simplify transition to a combined