avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Need critical section; how to implement semaphore without dis


From: Jörgen Birkler
Subject: [avr-chat] Need critical section; how to implement semaphore without disabling interrupt
Date: Sun, 29 May 2005 18:03:48 +0200

Is there a way to implement a semaphore without disabling the interrupt?

Recall that some CPU (HC11?) have some exchange instruction that read and write to to a memory location in one atomonous instruction.

/J




reply via email to

[Prev in Thread] Current Thread [Next in Thread]