On Tue, 24 Jan 2017 at 09:14, Martin Pieuchot <[email protected]> wrote:

> On 24/01/17(Tue) 08:06, Christiano F. Haesbaert wrote:
>
> > Not sure I get it, the rwlock when is not released when you yield()). So
>
> > this will in fact context switch holding the rwlock for every pool_get().
>
> > Did I miss another a change ?
>
>
>
> That's true.  I'd like to know when that happens and where.  The diff
>
> below combined with a NET_ASSERT_UNLOCKED() in yield() allows me to
>
> find that.


>
Ah, I missed the assert, thanks.

Reply via email to