Boost logo

Boost Users :

Subject: Re: [Boost-users] threads in a DLL with callbacks
From: Hansi (hansipet_at_[hidden])
Date: 2008-10-03 06:16:01

What do you use as callback?

Anthony Williams schrieb:
> "Nicholas Cain" <ncain_at_[hidden]> writes:
>> Hi, can I make another plea for any answers to my question (below). It
>> may be that the answer is so obviously 'of course it does' that I
>> didn't get a response.
> Sorry for the late reply.
>>> My question is; should the windows critical section protect the
>>> callbacks just as well as the boost mutexes, or does it require a
>>> boost mutex protection? (or do you require a code example to know
>>> the answer to this?)
> Yes. CRITICAL_SECTION should provide exactly the same level of
> protection as Boost::mutex.
> Anthony

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at