Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
* [libre-riscv-dev] spinlocks considered harmful
@ 2020-05-08 23:20 Jacob Lifshay
  2020-05-09  7:51 ` Luke Kenneth Casson Leighton
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Lifshay @ 2020-05-08 23:20 UTC (permalink / raw)
  To: Libre-RISCV General Development

I ended up reporting a bug to PyO3 to not use spinlocks, the explanatory
blog post I liked to is quite informative and I'd consider it recommended
reading for anyone writing multi-threaded programs and/or using atomics:

https://matklad.github.io/2020/01/02/spinlocks-considered-harmful.html

Bug report:
https://github.com/PyO3/pyo3/issues/916

Jacob
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 23:20 [libre-riscv-dev] spinlocks considered harmful Jacob Lifshay
2020-05-09  7:51 ` Luke Kenneth Casson Leighton

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git