|
From: | hanzl |
Subject: | Re: [avr-chat] Need critical section; how to implement semaphore without disabling interrupt |
Date: | Sun, 29 May 2005 22:20:11 +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. I think that AVR has no instruction of this type and thought there might be ways to implement a semaphore without disabling the interrupt these cumbersome ways would give you no advantage. Vaclav Hanzl
[Prev in Thread] | Current Thread | [Next in Thread] |