If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. **

how atomicity can be provided in the following cases?

Well guys i need the help of a genius!! I have a question that i have to answer now i'm not looking necessarily for the answer but help, iv looked for weeks for the answer but i am just STUCK so here it is:

The semSignal() and semWait() operations, provided as primitives by an OS kernel, are defined to be atomic. Explain how this atomicity can be provided in the following cases:
a) hardware which provides test and set lock or other composite instruction
b) a uniprocessor when no composite instruction is available
c) a multiprocessor when no composite instruction is available