Replace completions with semaphores
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Bart Van Assche
Quoted 2 lines · Andi Kleen
For me it sounds like you just want to rename semaphores to some other name that people don't use them for normal locking?
Would it really be a good idea to give a synchronization concept that behaves exactly like a semaphore another name than "semaphore" ? The semaphore concept is well known and is taught in every computer science course.
What about calling it counting_semaphore, if it's to be used for this purpose?