3 ms·
Yes, that's exactly why I think the "operations" concept was added. But isn't it good to provide extra sem_wait() and sem_post() for most of the rest of us who
by jaywalker 16y ago
Yes, that's exactly why I think the "operations" concept was added. But isn't it good to provide extra sem_wait() and sem_post() for most of the rest of us who want a single increment or a decrement? I have yet to find a good use of an array of operations in a single atomic fashion. Neither dining philosophers nor reader-writers need multiple increments/ decrements in one go.