Branch: Tag:

2020-06-16

2020-06-16 11:27:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread.RWKey: Wake up waiting readers on downgrade().

2988:    THIS_RWKEY->kind = RWMUX_DOWNGRADED;    THIS_RWKEY->rwmutex->readers = 1;    THIS_RWKEY->rwmutex->writers = -1; +  +  co_broadcast(&THIS_RWKEY->rwmutex->condition);   }      /*! @decl void upgrade()