age does. I'll ask
> the Arch
> >>>> >>>> package maintainer if he's willing to do the same.
> >>>> >>>>
> >>>> >>>> I've confirmed now that I don't have any problems with my
> program if I
> >>>> >>>> re-
package maintainer if he's willing to do the same.
> >>>> >>>>
> >>>> >>>> I've confirmed now that I don't have any problems with my
> program if I
> >>>> >>>> re-built the Arch package with --enable-threadsafe
> >>>
the info!
>>>> >>>>
>>>> >>>> Elvis
>>>> >>>>
>>>> >>>>> Scot
>>>> >>>>>
>>>> >>>>>
>>>> >>>>>> On Sep 22, 2016, a
gt; >>>>>
>>>> >>>>>> On Sep 22, 2016, at 12:36 PM, Elvis Stansvik
>>>> >>>>>> <elvis.stans...@orexplore.com> wrote:
>>>> >>>>>>
>>>> >>>>>> 2016-09-22 19:
and thanks for the quick reply. I think we
> just e-mailed
> >>>>>>> past
> >>>>>>> each other (see my previous mail).
> >>>>>>>
> >>>>>>> I wrongly called it --thread-safe in t
revious mail).
> >>>>>>>
> >>>>>>> I wrongly called it --thread-safe in that mail, but it was
> >>>>>>> --enable-threadsafe I was referring to. But yes, I'm pretty sure
> this
> >>>>>>> is the problem.
>
;>>> is the problem.
>>>>>>>
>>>>>>> I'm rebuilding the Arch package now with --enable-threadsafe.
>>>>>>
>>>>>> I spoke a little too soon. I now found this bug filed against the Arch
>>>>>> pa
Hdf-forum [mailto:hdf-forum-boun...@lists.hdfgroup.org] On Behalf Of
> Elvis Stansvik
> Sent: Thursday, September 22, 2016 2:35 PM
> To: HDF Users Discussion List <hdf-forum@lists.hdfgroup.org>
> Subject: Re: [Hdf-forum] Simply using the library from separate threads (C++
> API)
>
>
rum@lists.hdfgroup.org>
Subject: Re: [Hdf-forum] Simply using the library from separate threads (C++
API)
2016-09-22 20:25 GMT+02:00 Werner Benger <wer...@cct.lsu.edu>:
> There was some recent discussion that only the C API of HDF5 is
> threadsafe, but not the C++ layer on top of
y previous mail).
>>>>>>>
>>>>>>> I wrongly called it --thread-safe in that mail, but it was
>>>>>>> --enable-threadsafe I was referring to. But yes, I'm pretty sure this
>>>>>>> is the problem.
>>>>>>>
&
oid
From: Elvis Stansvik
Sent: Thursday, September 22, 12:43
Subject: [Hdf-forum] Simply using the library from separate threads
(C++
API)
To: HDF Users Discussion List
Hi all, I'm using the C++ API to read HDF5 files from separate threads
(no
writing). None of my threads read the same file, but they d
September 22, 2016 2:16 PM
> To: HDF Users Discussion List <hdf-forum@lists.hdfgroup.org>
> Subject: Re: [Hdf-forum] Simply using the library from separate threads (C++
> API)
>
> 2016-09-22 19:58 GMT+02:00 Scot Breitenfeld <brtn...@hdfgroup.org>:
>> Yes it is still
nable-threadsafe,
>>>> but the package maintainer closed the bug saying that
>>>> --enable-threadsafe is not compatible with the Fortran build (in Arch,
>>>> the C++ and Fortran APIs are bundled into one package
>>>> hdf5-cpp-fortran).
>>>>
&g
gt;>
>> Anyone know if that is still the case? If so I can't open a bug
>> against the package again asking for --enable-threadsafe to be added.
>> But I could open a bug asking the package to be split I guess.
>>
>> Elvis
>>
>>>
>>> Elvis
>&
s.
Elvis
Elvis
Dana Robinson
Software Engineer
The HDF Group
Get Outlook for Android
From: Elvis Stansvik
Sent: Thursday, September 22, 12:43
Subject: [Hdf-forum] Simply using the library from separate threads (C++
API)
To: HDF Users Discussion List
Hi all, I'm using the C++ API to read HDF5 fil
gt;> against the package again asking for --enable-threadsafe to be added.
>> But I could open a bug asking the package to be split I guess.
>>
>> Elvis
>>
>>>
>>> Elvis
>>>
>>>>
>>>> Dana Robinson
>>>> Softwa
ase? If so I can't open a bug
> against the package again asking for --enable-threadsafe to be added.
> But I could open a bug asking the package to be split I guess.
>
> Elvis
>
>>
>> Elvis
>>
>>>
>>> Dana Robinson
>>> Software Engineer
en a bug asking the package to be split I guess.
Elvis
>
> Elvis
>
>>
>> Dana Robinson
>> Software Engineer
>> The HDF Group
>>
>> Get Outlook for Android
>>
>> From: Elvis Stansvik
>> Sent: Thursday, September 22, 12:43
>> Su
gt; Get Outlook for Android
>
> From: Elvis Stansvik
> Sent: Thursday, September 22, 12:43
> Subject: [Hdf-forum] Simply using the library from separate threads (C++
> API)
> To: HDF Users Discussion List
>
> Hi all, I'm using the C++ API to read HDF5 files from separate t
using the library from separate threads (C++ API)
To: HDF Users Discussion List
Hi all, I'm using the C++ API to read HDF5 files from separate threads (no
writing). None of my threads read the same file, but they do execute
simultaneously. The reason I'm using threading is not to speed things up
Just after I sent my mail I found the information at
https://support.hdfgroup.org/hdf5-quest.html#tsafe
So in short, the HDF5 library needs to be built with --thread-safe in
order to be thread-safe, and will then effectively serialize all
library calls. This happens to be OK in my case,
Hi all,
I'm using the C++ API to read HDF5 files from separate threads (no
writing). None of my threads read the same file, but they do execute
simultaneously. The reason I'm using threading is not to speed things
up or get better throughput, but simply to not block the UI (it's Qt
application)
22 matches
Mail list logo