View Single Post
Old 14 January 2013, 11:37   #26
Schoenfeld
electricky.
 
Join Date: Jun 2010
Location: out in the wild
Posts: 1,243
Quote:
Originally Posted by demolition View Post
So it could potentially still break under certain unlucky conditions?
I don't assume that you can disable interrupts during access when operating in WB?
forbid() is always available, also under WB. It should not be disabled too long, but it is meant exactly for things like this: Make an action atomic, because other actions may interfere with it. Unfortunately, a semaphore doesn't do the job here, as you can badly mess with the ACA620 memory layout ;-)

So no, if implemented the right way, it doesn't crash.

Jens
Schoenfeld is offline  
 
Page generated in 0.07065 seconds with 9 queries