You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when
#if (CONFIG_USE_THREADS == 1)
self->isThreadlessMode = true;
#endif
is this a clerical error when USE_THREADS == 1? I think it is be better return when CONFIG_USE_THREADS == 1 as below:
#if (CONFIG_USE_THREADS == 1)
self->isThreadlessMode = false;
self->isStarting = false;
return ;
#endif
The text was updated successfully, but these errors were encountered:
The idea is that when compiling the library with thread support (CONFIG_USE_THREADS) it is still possible using it without the library creating its own threads. Not sure if there are many use cases for this.
when
#if (CONFIG_USE_THREADS == 1)
self->isThreadlessMode = true;
#endif
is this a clerical error when USE_THREADS == 1? I think it is be better return when CONFIG_USE_THREADS == 1 as below:
#if (CONFIG_USE_THREADS == 1)
self->isThreadlessMode = false;
self->isStarting = false;
return ;
#endif
The text was updated successfully, but these errors were encountered: