Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Circular buffers

2004-03-04 by embeddedjanitor

--- In lpc2000@yahoogroups.com, "Curt Powell" <curt.powell@s...> 
wrote:
> Charles,
> 
> Do you find this version to be "thread safe" when a UART ISR is 
filling
> it and the main program is processing (i.e. emptying) it?
> 

No this is just the circular buffer itself. I normally wrap 
the "foreground" code in interrupt enable/disable code to make it 
interrupt safe.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.