StackOverflow Questions for Tag: test-and-set

Kaloyan Enev
Kaloyan Enev

Reputation: 1

How do i use testandset() to synchronise two critical sections

Score: 0

Views: 35

Answers: 0

Read More
Sniperchang
Sniperchang

Reputation: 63

Why does C/C++ not have a atomic flag test_and_clear?

Score: 6

Views: 491

Answers: 4

Read More
Benoit
Benoit

Reputation: 39034

What is Test-and-Set used for?

Score: 19

Views: 43438

Answers: 8

Read More
Marsh
Marsh

Reputation: 1

Should I use notify() instaed of notifyAll() in this case?

Score: 0

Views: 52

Answers: 1

Read More
VEMBU KARTHICK T
VEMBU KARTHICK T

Reputation: 29

test_and_set makes the thread deadlock

Score: 0

Views: 170

Answers: 1

Read More
Aviral Verma
Aviral Verma

Reputation: 548

Implementation of a lock using test and set

Score: 0

Views: 1465

Answers: 2

Read More
Luigi
Luigi

Reputation: 341

TAS instruction 68000

Score: 0

Views: 1014

Answers: 1

Read More
james king
james king

Reputation: 90

Semaphores with test and set (code implementation possible mistake)

Score: 1

Views: 666

Answers: 1

Read More
Yves
Yves

Reputation: 12371

does the atomic instruction involve the kernel

Score: 1

Views: 351

Answers: 1

Read More
Michael Riley
Michael Riley

Reputation: 107

History of the ++/-- Operators as compared to the test-and-set instruction/operation

Score: 1

Views: 79

Answers: 1

Read More
Ignorant
Ignorant

Reputation: 2671

Implementing a mutex with test-and-set atomic operation: will it work for more than 2 threads?

Score: 3

Views: 4082

Answers: 2

Read More
Satyam Yadav
Satyam Yadav

Reputation: 21

Need help understanding implementation of mutex with test_and_set

Score: 2

Views: 269

Answers: 1

Read More
TwITe
TwITe

Reputation: 430

Mutex implementation without hardware support of Test-and-Set and CAS-operations

Score: 4

Views: 1364

Answers: 0

Read More
PaulH
PaulH

Reputation: 3049

PHP flock() for read-modify-write does not work

Score: 3

Views: 1596

Answers: 3

Read More
Vasile
Vasile

Reputation: 841

CMPXCHG and critical section implementation

Score: -1

Views: 465

Answers: 1

Read More
ominug
ominug

Reputation: 1572

.Net CompareExchange reordering

Score: 7

Views: 429

Answers: 3

Read More
Dima Chubarov
Dima Chubarov

Reputation: 17159

How to analyze a mutual exclusion algorithm with two atomic test-and-set calls

Score: 2

Views: 61

Answers: 0

Read More
Mona Jalal
Mona Jalal

Reputation: 38135

Why CompareAndSwap is more of a powerful instruction than TestAndSet?

Score: 1

Views: 1594

Answers: 1

Read More
Dan
Dan

Reputation: 862

Mixing lock-less and lock-full thread synchronization with atomic TestAndSet in C++

Score: 1

Views: 345

Answers: 2

Read More
vondip
vondip

Reputation: 14029

Why can't TSL offer secure atomic operations for multiple threads

Score: 0

Views: 95

Answers: 0

Read More
PreviousPage 1Next