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?
 
vimalalexAuthor Commented:
Hi tel2,
                       Thanks for your reply.Could you please guide me to complete this assignment

Regards,
Vimal.
0
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.