2

Recently I came across the term "Memory interlocked test and set instruction?". I am not able to understand the term.. Can anyone explain me?

2 Answers 2

3

It is a basic atomic instruction in other to do many stuff in parallel programming. See this

1

At the lowest level of the process management, the hardware must provide a memory interlocked test-and-set instruction. The test-and-set instruction must allow two operations to be done on a main-memory location—the reading of the existing value followed by the writing of a new value—without any other processor being able to read or write that memory loca- tion between the two memory operations. Some architectures support more com- plex versions of the test-and-set instruction.

Take from Introduction to Process Management.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.