[osg-users] [VPB] vpbmaster doesn't exit on Win32
Robert Osfield
robert.osfield at gmail.com
Tue Jun 3 08:36:35 PDT 2008
On Tue, Jun 3, 2008 at 4:19 PM, Serge Lages <serge.lages at gmail.com> wrote:
> Hi Glenn and Robert,
>
> Is this problem resolved ?
> I am currently using an OperationThread on my app and I have the same
> problem, it doesn't want to exit (it blocks into the cancel method).
I haven't looked at VPB issue yet, the stack traces that Glenn
produced suggest that the release of the block hasn't been released
for some reason - even though the release is being called on the block
by the main thread. This suggests a bug in OpenThreads::block() under
Windows, but I guess it could be problem elsewhere, but just has shown
itself yet.
As to whether the problem that Glenn is seeing is what also have is
not possible to say, it may well be just that you own operations are
busy and not playing nice with the gentle cancellation that
OperationThread tries to achieve via it's _done flag (note it doesn't
call OpenThreads::cancel(), instead using the cooraprative approach of
setting a _done flag.)
Robert.
More information about the osg-users
mailing list