Allow for platform Thread implementation override

This commit is contained in:
Lucy 2021-09-15 21:48:04 -03:00
parent f701d9b0f7
commit e9723efd34
2 changed files with 11 additions and 0 deletions

View file

@ -28,6 +28,10 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
// Define PLATFORM_CUSTOM_THREAD_H in platform_config.h
// Overriding the platform implementation is required in some proprietary platforms
#ifndef PLATFORM_CUSTOM_THREAD_H
#include "thread.h"
#include "core/object/script_language.h"
@ -126,3 +130,4 @@ Thread::~Thread() {
}
#endif
#endif // PLATFORM_CUSTOM_THREAD_H