Boost logo

Boost Users :

Subject: [Boost-users] Thread not interrupted in runtime linked library
From: Lloyd (lloyd_at_[hidden])
Date: 2010-01-07 08:33:31


Hi,

Using boost thread a new thread is created. The thread loads a DLL using LoadLibrary() call, gets the procedure address by calling GetProcAddress() and executes the procedure. The body of procedure is an infinite loop. When I try to interrupt the thread from main thread it is not interrrupted! What could be the reason? In all other cases the thread is interrupted except when it is inside the dynamically (runtime) linked library procedure. What could be the reason? Please share some idea...

Thank you very much

Lloyd

___________________
Happy New Year 2010



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