octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57459] Dynamically loaded SuiteSparse functio


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57459] Dynamically loaded SuiteSparse functions should be moved to core
Date: Thu, 30 Jan 2020 03:03:33 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

Follow-up Comment #4, bug #57459 (project octave):

I think I get your point now.
I don't know how those SuiteSparse_config settings are shared. Does Octave own
its own settings structure or is that structure shared among different
programs using SuiteSparse functions (i.e. are those settings thread local or
global)?
In any case, I agree that it would be safest to set the pointers each time we
call a SuiteSparse function that uses them. If we want to be nice to other
functions using SuiteSparse with different settings, we might want to reset
them to the previous values once we are done.
In the latter case (SuiteSparse_config share between threads/programs), I'm
not sure how that could be done in a thread-safe manner.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57459>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]