Live data from Hacker News

Linus Torvalds on semaphores (1999)

yarchive.net

111–112 of 112 posts

Re: Linus Torvalds on semaphores (1999)

#111

Semaphores make a lot more sense if you know their literal translation of the Spanish word "semaforo", which is a "signal". It's also used in Spanish to describe a traffic light.

I thought it got its name from the Semaphore Flag Signalling System.

http://www.anbg.gov.au/flags/semaphore.html

Re: Linus Torvalds on semaphores (1999)

#112
post #74

Nice read, but still some misconceptions and misunderstandings. If I am in a multiprocessor design, where each processor runs completely independent from each other and there is no central organizational unit like a central OS, like in many embedded designs, there is no such thing as a spinlock. A semaphore is also not used for sending processes to sleep. Linus explanation makes sense, speaking only about a single OS…

You should realize that the post was written in 1999.

And I have done my work on this back around 1997/1998 as part of my diploma thesis.
Post reply on HN