axlList* vortex_profiles_acquire ( VortexCtx ctx)

Return current profiles registered, in a internally created list, acquiring an internal mutex to ensure thread safety while using the list.

In the case you register all profiles at the application start, you can safely use vortex_profiles_get_actual_list_ref which is faster. In the case you are registering and unregistering profiles dynamically, you should use this function to avoid races.

Each call to vortex_profiles_acquire requires a call to vortex_profiles_release.

A reference to the profile list. This reference must be released with vortex_profiles_release when not being used anymore

References vortex_mutex_lock().