pomp_internal_set_loop_impl

Function pomp_internal_set_loop_impl 

Source
pub unsafe extern "C" fn pomp_internal_set_loop_impl(
    impl_: pomp_loop_impl,
) -> c_int
Expand description

Force the loop implementation to use. @param impl: the implementation to use. @return 0 in case of success, negative errno value in case of error.

@remarks : This function modifies the implementation of ALL loops. It shall only be called BEFORE creating anything and ONLY for tests or specific use cases. Not all implementations are available on all platforms.