kopia lustrzana https://github.com/espressif/esp-idf
esp_pthread_init constructor attr was removed
rodzic
5094965e98
commit
5dea0fca15
|
@ -69,7 +69,7 @@ static List_t s_threads_list;
|
|||
|
||||
static int IRAM_ATTR pthread_mutex_lock_internal(esp_pthread_mutex_t *mux, TickType_t tmo);
|
||||
|
||||
esp_err_t __attribute__((constructor)) esp_pthread_init(void)
|
||||
esp_err_t esp_pthread_init(void)
|
||||
{
|
||||
vListInitialise((List_t *)&s_threads_list);
|
||||
s_once_mux = xSemaphoreCreateMutex();
|
||||
|
|
Ładowanie…
Reference in New Issue