Concurrency Support ?

10 views
Skip to first unread message

Gabriel

unread,
Apr 4, 2011, 9:58:28 AM4/4/11
to FannJ
Hi,

I was wondering if a fanJ object could be used concurrently by
multiple threads. e.g. : Can we run it simultaneously on multiple
inputs ? Does it has the proper Readers / Writer Lock allowing it to
be evolved while other thread run commands on it ?

Thanks,

Gabriel

Kyle Renfro

unread,
Apr 4, 2011, 3:03:59 PM4/4/11
to fa...@googlegroups.com
Nope.

According to http://leenissen.dk/fann/forum/viewtopic.php?t=149, FANN is not thread safe.  FannJ is a simple java wrapper around this library and provides no extra concurrency support.

-Kyle

Gabriel

unread,
Apr 4, 2011, 3:14:42 PM4/4/11
to FannJ
Ok. Thanks. I stumbled upon that link while doing some research too
but I was wondering if this applied only for weights changes and not
to simple evaluation since it it should normally be only reading the
inner fields of fann.

I guess fann must be using some kind of internal intermediary data to
perform its evaluations.

On Apr 4, 3:03 pm, Kyle Renfro <kren...@real-comp.com> wrote:
> Nope.
>
> According tohttp://leenissen.dk/fann/forum/viewtopic.php?t=149, FANN is not
> thread safe.  FannJ is a simple java wrapper around this library and
> provides no extra concurrency support.
>
> -Kyle
>
Reply all
Reply to author
Forward
0 new messages