JuliaGraphics / Luxor.jl

Simple drawings using vector graphics; Cairo "for tourists!"
http://juliagraphics.github.io/Luxor.jl/
Other
576 stars 72 forks source link

threadid() and nthreads() usage #265

Open cormullion opened 1 year ago

cormullion commented 1 year ago

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.

hustf commented 1 year ago

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

stale[bot] commented 4 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.