Boost logo

Boost Users :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-06-04 14:01:17


"Philip, Tim" <Tim_Philip_at_[hidden]> wrote in message
news:5F30476461433A4ABF22CF78C971DC5308EDF245_at_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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net