Skip to contentSkip to conversation

Replace completions with semaphores

PATCH Bodo Eggert 1 participant 1 message Apr 16, 2008 11 messages not in the archive

lore
Share & tools
lore

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]

#11 lore raw
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?