Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
colonwqbang
61 days ago
|
parent
|
context
|
favorite
| on:
Giving C a superpower: custom header file (safe_c....
I wrote "multithreaded" but I really meant "multicore". If two cores are contending for a lock I don't see how irq protection help. As long as there is only one core, I agree.
cogman10
61 days ago
[–]
On most multicore systems you can pin the IRQ handling to a single core. Pinning locking interrupts to a single core would be how you handle this.
colonwqbang
59 days ago
|
parent
[–]
True, but locks are not only needed inside IRQ handler routines.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: