[Interest] Heavily Commented Example: Simple Single Frontend with Two Backends
harri at mpaja.com
Tue Oct 23 12:33:22 CEST 2012
On 10/23/2012 12:14 PM, Till Oliver Knoll wrote:
> As Bo pointed out on "ordinary desktops" you are probably lucky, since
> the Intel desktop architecture (single CPU, multiple cores) apparently
> have "coherent caches".
Just a note that things like out-of-order execution and threading behave
subtly different when using multicore ARM chips compared to Intel.
So for threading you really want to use higher level constructs, such as
thread safe queues etc. even for reading basic C types, and never rely
on processor specific behaviour.
If you need to implement low level threading constructs then the linux
kernel sources are a good reference source for many architectures.
Just my 2 cents,
More information about the Interest