|
From: | Michael Hennebry |
Subject: | Re: [Help-glpk] Optimization and Multicore GLPK |
Date: | Thu, 27 Dec 2012 18:45:39 -0600 (CST) |
User-agent: | Alpine 1.00 (DEB 882 2007-12-20) |
On Thu, 27 Dec 2012, Patrik Dufresne wrote:
Correct me if I'm wrong: With GLPK you may solve multiple problems at the same time using one thread for each problems. So, I don't understand why it's important to make GLPK thread safe. As long as you are manipulating the problem object with the same thread, you are OK. In case you need to manipulate the same problem object with multiple threads, I think it's up to the application code to properly handle the thread to synchronize the operation done to the problem object.
There is also a global object that is not per problem. IIRC it handles things like errors and memory allocation. -- Michael address@hidden "On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword." -- Lily
[Prev in Thread] | Current Thread | [Next in Thread] |