JuliaGraphics / Luxor.jl

Simple drawings using vector graphics; Cairo "for tourists!"

Home Page:http://juliagraphics.github.io/Luxor.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

threadid() and nthreads() usage

cormullion opened this issue · comments

From this blog post we read that:

Any usage of threadid() in package or user code should be seen as a warning sign that the code is relying on implementation details, and is open to concurrency bugs.

In Luxor threadid() does appear a few times:

so there might be the possibility of issues and/or bugs.

commented

Oops, we ought to think this through. I have used the thread features some on Julia 1.9 and did not notice any issues.