A concept of synchronicity associated with convex functions in linear spaces and applications