On Wed, Jun 06, 2018 at 02:24:29PM +0200, Olivier Houchard wrote:
> > Just out of curiosity, shouldn't we #ifdef out the global runqueue
> > definition when running without threads in order to catch such cases
> > in the future ?
> > 
> 
> I think this is actually a good idea.
> My only concern is it adds quite a bit of #ifdef USE_THREAD, see the attached
> patch.

Indeed. A few of them may be replaced with the magical __decl_hathread()
macro but that will remain marginal. Well, it's not that bad either, just
let me know what you prefer, I'm fine with both options.

Willy

Reply via email to