Boost logo

Boost Users :

Subject: Re: [Boost-users] threads in a DLL with callbacks
From: Nicholas Cain (ncain_at_[hidden])
Date: 2008-10-03 07:50:06

Just a function pointer passed to the DLL

----- Original Message -----
From: "Hansi" <hansipet_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
To: <boost-users_at_[hidden]>
Sent: Friday, October 03, 2008 11:16 AM
Subject: Re: threads in a DLL with callbacks

> 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