Just a function pointer passed to the DLL
----- Original Message -----
From: "Hansi"
What do you use as callback?
Anthony Williams schrieb:
"Nicholas Cain"
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