[HELPER_PLATFORM_DEP] interfaces not specified
The design for platform-specific needs is that:
- required interfaces are defined in
src/Common/helpers_platform_dep/*.h
- specific implementation are defined in subfolders of
helpers_platform_dep
(one folder by target)
The required interfaces are not completely documented, so that the expected implementation has to be somehow "guessed".
In particular:
-
When a type (e.g. Mutex) is platform dependant, it should be explicitely specified in the interfacec .h file, ( where it should be defined). For example helpers_platform_dep/sopc_mutex.h
expectsMutex
andCondition
to be defined inhelpers_platform_dep/<target>/p_threads.h
- API is not defined for the following files and should be updated:
-
sopc_mem_alloc.h
not fully documented -
sopc_raw_sockets.h
: must document the relationship withp_sockets.h
-
sopc_thread.h
: must document the relationship withp_thread.h
-
SOPC_FileSystem_fmemopen
is not specified, not fully implemented and not used => to remove?
-
Edited by Jérémie Chabod