* gnu/classpath/jdwp/VMVirtualMachine.java
(_jdwp_suspend_counts): New private variable. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Initialize _jdwp_suspend_counts. (suspendThread): Implement. (resumeThread): Implement. (getSuspendCount): Implement. From-SVN: r117196
This commit is contained in:
parent
47de6f6d2a
commit
291ad36e62
3 changed files with 110 additions and 1 deletions
|
@ -48,6 +48,7 @@ import gnu.classpath.jdwp.util.MethodResult;
|
|||
import java.lang.reflect.Method;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Hashtable;
|
||||
import java.util.Iterator;
|
||||
|
||||
/**
|
||||
|
@ -57,6 +58,9 @@ import java.util.Iterator;
|
|||
*/
|
||||
public class VMVirtualMachine
|
||||
{
|
||||
// Thread suspension table. Maps Thread to suspend count (Integer)
|
||||
private static Hashtable _jdwp_suspend_counts;
|
||||
|
||||
public static native void initialize ();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue