@ahrens @behlendorf On illumos, cv_destroy simply asserts that noone is still waiting. As a result, you cannot safely cv_broadcast(); cv_destroy(); free(cv); because the waiters may not have actually started executing and exited the cv code yet.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/680#issuecomment-426742269 ------------------------------------------ openzfs: openzfs-developer Permalink: https://openzfs.topicbox.com/groups/developer/T0ada5cf1c6037d04-M1dd739fbc0313c1e3a810f77 Delivery options: https://openzfs.topicbox.com/groups/developer/subscription
