Boost logo

Boost Users :

Subject: [Boost-users] boost::context "main" stack
From: Michael Steinberg (michsteinb_at_[hidden])
Date: 2016-09-19 13:21:08


Hello,

is there some way to temporarily run a function on the main stack? I
played around a bit, but failed ultimately since the first stub function
to be called is getting a "null" context which I assume to be only a
valid "return-context".

We're facing a problem where a dialog run modally inside a context runs
webkit, which triggers garbage collection, which fails miserably since
it assumes we're on the "native" stack. If it were possible to run
something "on-top" of the main stack, this could maybe be circumvented.

Thank you,
Michael


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