Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Setting the stackframe is multi thread safe?

Hello.

I posted my question to other newsgroup, but I found here is
more suitable.

I'm using CDT 2.1.1 into Eclipse 3.0.2,
I found just like following code at several points in cdt.

currentThread.setCurrentStackFrame(...) // set the stackframe
do something
currentThread.setCurrentStackFrame(...) // reset the stackframe

For example, VariableManager#getArgumentDescriptors and ExpressionManager#createVariable are using this code.

My Question is "Setting the stackframe is multi thread safe?".

I think that two threads change the stack frame at same time,
causes stack frame level crash.

( And VariableManager and ExpressionManager seem to run on another
thread.)

Any Idea?

Thank you.

Hitoshi Yoshida




Back to the top