Linux

Hi experts,
                     This is an assignment question.Please any one solve this question.
Write pseudo code to implement mutual exclusion using:
1) Test and Set instruction and
2) Swap instruction.

Regards,
Vimal.
LVL 2
vimalalexAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tel2Commented:
Hi vimalalex,

Experts are not allowed to do your assignments for you.  If we did, then you would be cheating and would not learn as much.  If you're wanting help with assignments, try to supply some of the answer yourself, and ask for help with parts of it, not for a full solution.  If you don't have time to do this (as you have mentioned in a different question), then I guess you won't pass.  Better to fail honestly than to pass dishonestly, otherwise you will end up failing when you get into the real world.

Also, in future, I would suggest that you give more descriptive titles to your questions.  I see you have 4 open questions which all have different requirements, but all have the same title ("Linux").  For example, this question could have been something like: "Test, Set & Swap Pseudo Code".  Also, since you're asking for pseudo code (not a shell script or other real language), I'm not sure that "Linux Programming" is the appropriate forum for your question.  Maybe you could include "Linux Programming", but also have other forums like "Algorithms".  You can assign up to 3 forums per question.
0
vimalalexAuthor Commented:
Hi tel2,
                       Thanks for your reply.Could you please guide me to complete this assignment

Regards,
Vimal.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tel2Commented:
Hi vimalalex,

1. How have you been taught about test, set & swap?  Was it in a class room, or what?
2. Did you take notes on what you were taught?
3. Do you have a text book which contains the info?
4. How do you think your teacher expects you to find the answers you need?

If you answer the above questions for me, then I might be able to make some suggestions for you.
0
vimalalexAuthor Commented:
Not get good response
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.