The English Oracle

How to interpret "as do" in this sentence

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001

--

Chapters
00:00 How To Interpret &Quot;As Do&Quot; In This Sentence
00:29 Answer 1 Score 5
01:02 Accepted Answer Score 5
01:31 Thank you

--

Full question
https://english.stackexchange.com/questi...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#meaningincontext

#avk47



ANSWER 1

Score 5


The sentence may be rewritten to:

Mutexes can be applied only to threads in a single process and unlike semaphores they do not work between processes.

This should remove your confusion, I believe. The sentence means that semaphores do work between processes, but mutexes don't.

I don't think the wording is strange. I'd say it's pretty common to say it like that and the problem was in your understanding. You probably never heard anything similar, so you couldn't figure it out.




ACCEPTED ANSWER

Score 5


It might help to clarify if you break the sentence into its two pieces:

Mutexes can be applied only to threads in a single process.

Mutexes do not work between processes as do semaphores.

A slightly better way to word it would be:

Mutexes do not work between processes as semaphores do.

Or even better:

Unlike semaphores, mutexes do not work between processes.