[OBOE] Fwd: Is OBOE thread-safe?

Tianyang Li 李天阳 Tommy Li tmy1018 at gmail.com
Wed Sep 19 09:05:07 EDT 2012


---------- Forwarded message ----------
From: Nidhi Sawhney <nsawhney at gmail.com>
Date: Wed, Sep 19, 2012 at 6:53 PM
Subject: Re: [OBOE] Is OBOE thread-safe?
To: Tianyang Li 李天阳 Tommy Li <tmy1018 at gmail.com>


Hi Tianyang,

The short answer is I dont know, as OBOE has not been tested in a
multi-threaded app as such.

The long answer is that since OBOE itself does not use any static
inititializations or other centralized state keepers, I would think it
would be safe to use in a multi-threaded application, however it
itself of course does not do any multi-threading. So if you are
thinking of making OBOE go faster via multi-threading that is not
built, however if you are planning to use OBOE in one of the threads
in your multi-threaded app then it could work, the thread-safety of
objects from your app would have to be maintained by you.

-Nidhi

On Wed, Sep 19, 2012 at 10:38 AM, Tianyang Li 李天阳 Tommy Li
<tmy1018 at gmail.com> wrote:
>
> Hi,
>
> Currently I'm interested in running separate solvers in different
> threads, but I'm not sure about the thread-safety when using OBOE.
>
> Is OBOE thread-safe?
>
> Thanks!
>
> Best,
> Tianyang
> _______________________________________________
> OBOE mailing list
> OBOE at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/oboe



More information about the OBOE mailing list