The realtime preemption mini-summit
The realtime preemption mini-summit
Posted Sep 29, 2009 20:09 UTC (Tue) by mjthayer (guest, #39183)In reply to: The realtime preemption mini-summit by aleXXX
Parent article: The realtime preemption mini-summit
>
> int get_foo(struct foo* f)
> {
> lock_mutex(&mutex);
> memcpy(f, &source, sizeof(struct foo));
> unlock_mutex(&mutex);
> }
That particular example could be solved by RCU, although I don't want to start a showdown here, as I'm sure you would win it :) I was thinking more on the lines of avoiding contention in the critical path as much as possible though.
Posted Oct 11, 2009 16:02 UTC (Sun)
by efexis (guest, #26355)
[Link]
The realtime preemption mini-summit