You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a recommended way to only load and pin threads if my package is loaded by someone using Linux? e.g. If my package is loaded on Windows nothing bad should happen.
The text was updated successfully, but these errors were encountered:
Hi @ejmeitz, there shouldn't be anything you need to do. That is, by default, nothing bad should happen on Windows 😉
On Windows:
using ThreadPinning # will throw a informative warning, see https://github.com/carstenbauer/ThreadPinning.jl/blob/599835342ce509d6fd35a17d4b49cedfa0c6ccd8/src/ThreadPinning.jl#L93-L95pinthreads(:cores) # will be a no-op
If you observe something different, or have any suggestions on how it should behave differently, please let me know.
Is there a recommended way to only load and pin threads if my package is loaded by someone using Linux? e.g. If my package is loaded on Windows nothing bad should happen.
The text was updated successfully, but these errors were encountered: