Anyone tried hooking up an eventcount to a seqlock, to handle blocking for multiple writers? Seems obvious now that I thought of it but haven’t implemented yet.
@tobinbaker i don't see the event count for *writers*. for mutual exclusion, I'd expect a CAS spinlock (into futex), or maybe a ticket lock (coupled with the sequence).
@moonchild@pkhuong it is cute but I think it would be more useful to use the counter as a futex word. blocking ticket locks make more sense than blocking spinlocks (because they give you an iteratively refined wait time estimate for free instead of blind exp. backoff or w/e), but I think precise waiting is better.