add a model for java.lang.Thread
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3047 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
42ffd051dc
commit
b54da11b8d
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2008 IBM Corporation.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* IBM Corporation - initial API and implementation
|
||||
*******************************************************************************/
|
||||
package com.ibm.wala.model.java.lang;
|
||||
|
||||
|
||||
/**
|
||||
* Model of single-threaded behavior
|
||||
*/
|
||||
public class Thread {
|
||||
|
||||
static final java.lang.Thread singleThread = new java.lang.Thread();
|
||||
|
||||
public static java.lang.Thread currentThread() {
|
||||
return singleThread;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue