sgxsdk-2.11 enable pthread_rwlock APIs support, and causes compilation error. We use macro SGX_THREAD_LOCK_INITIALIZER to control it.
This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.
Refer to port_wamr.md for how to port WAMR to a target platform.