|
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
[Prev in Thread] | Current Thread | [Next in Thread] |