A complete snippet to reproduce this may be useful. That said, I have code that uses qlock and rendez heavily with no sleeps, and have not had any issues on 9front.
Quoth ibrahim via 9fans <9fans@9fans.net>: > I have a function chan_send in which : > chan_send (...) { > qlock() > rwakeup(...) > qunlock() > } > > If two such chan_send functions are called without a "task-switch" 9vx > crashes. A work around for this problem is to place a sleep(0) after qunlock > to enforce a task-switch > > chan_send(...) { > qlock() > rwakeup(...) > qunlock() > sleep(0) > } > > This behaviour isn't documented anywhere. I'll test it next on bare metal > with a real kernel to find out if this is only a 9vx problem. > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T7a5bb3cde50a8a9a-M861c10f8be4b323658622f9a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription