
4 Jun
2004
4 Jun
'04
1:01 p.m.
"Philip, Tim" <Tim_Philip@intuit.com> wrote in message news:5F30476461433A4ABF22CF78C971DC5308EDF245@mtvex01.mv.intuit.com...
Has anyone ever used Boost.Threads in combination with MFC?
Yes.
MFC requires that threads using MFC functionality be created with AfxCreateThread(). What I'm wondering is if it is safe to create threads using AfxCreateThread() (instead of the Boost.Thread functionality) but then use the Boost.Threads mutexs and locking mechanisms to manage the thread activity.
Yes, Boost.Threads was designed with this type of use in mind. Mike