I agree.  Post-v1.0 we'll need to consider a more formal API deprecation
process for small changes like this, but for now it's best to just do them
and be done with it.

On Mon, Dec 15, 2014 at 2:39 PM, Ola Liljedahl <[email protected]>
wrote:
>
> On 15 December 2014 at 21:18, Ola Liljedahl <[email protected]>
> wrote:
> > Changing "core" to "cpu":
> >
> >         modified:   example/generator/odp_generator.c
> >         modified:   example/ipsec/odp_ipsec.c
> >         modified:   example/l2fwd/odp_l2fwd.c
> >         modified:   example/odp_example/odp_example.c
> >         modified:   example/packet/odp_pktio.c
> >         modified:   example/timer/odp_timer_test.c
> >         modified:   helper/include/odph_linux.h
> >         modified:   platform/linux-generic/include/api/odp_system_info.h
> >         modified:   platform/linux-generic/include/api/odp_thread.h
> >         modified:   platform/linux-generic/odp_linux.c
> >         modified:   platform/linux-generic/odp_system_info.c
> >         modified:   platform/linux-generic/odp_thread.c
> >         modified:   test/api_test/odp_atomic_test.c
> >         modified:   test/api_test/odp_common.c
> >         modified:   test/api_test/odp_ring_test.c
> >         modified:   test/api_test/odp_shm_test.c
> >
> > Painful but it has to be done.
> Since they all depend on this specific change:
>  /**
> - * Core count
> + * CPU count
> + * Report the number of CPU's available to this ODP program.
> + * This may be smaller than the number of (online) CPU's in the system.
>   *
> - * @return Core count
> + * @return Number of available CPU's
>   */
> -int odp_sys_core_count(void);
> +int odp_sys_cpu_count(void);
> I assume that all changes have to be part of the same patch. Changing
> public API's is painful. And it doesn't get easier if you wait.
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to