⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 thread.c

📁 This is a java virtual machine implement in c
💻 C
字号:
/*0001*//*
/*0002./ * Copyright (c) 1998-2001 Sun Microsystems, Inc. All Rights Reserved.
/*0003./ *
/*0004./ * This software is the confidential and proprietary information of Sun
/*0005./ * Microsystems, Inc. ("Confidential Information").  You shall not
/*0006./ * disclose such Confidential Information and shall use it only in
/*0007./ * accordance with the terms of the license agreement you entered into
/*0008./ * with Sun.
/*0009./ *
/*0010./ * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
/*0011./ * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
/*0012./ * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
/*0013./ * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
/*0014./ * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
/*0015./ * THIS SOFTWARE OR ITS DERIVATIVES.
/*0016./ *
/*0017./ */
/*0018*/
/*0019*//*=========================================================================
/*0020./ * SYSTEM:    KVM
/*0021./ * SUBSYSTEM: Thread (concurrency) management
/*0022./ * FILE:      thread.c
/*0023./ * OVERVIEW:  This file defines the structures and operations
/*0024./ *            that are needed for Java-style multithreading.
/*0025./ * AUTHOR:    Antero Taivalsaari, Sun Labs
/*0026./ *            Edited by Doug Simon 11/1998
/*0027./ *            Edited by Nik Shaylor 09/1999 to allow asynchronous I/O
/*0028./ *            Frank Yellin (new monitors), Bill Pittore (debugging)
/*0029./ *=======================================================================*/
/*0030*/
/*0031*//*=========================================================================
/*0032./ * COMMENTS:
/*0033./ * Read the description of thread and monitor structures in thread.h
/*0034./ *=======================================================================*/
/*0035*/
/*0036*//*=========================================================================
/*0037./ * Local include files
/*0038./ *=======================================================================*/
/*0039*/
/*0040*/#include <global.h>
/*0041*/#include <execute.h>
/*0042*/

		//\\//\\//\\//\\//\\//\\
/*0043*//*=========================================================================
/*0044./ * Global variables needed for multitasking
/*0045./ *=======================================================================*/
/*0046*/
/*0047*/THREAD CurrentThread;   /* Current thread pointer */
/*0048*/THREAD MainThread;      /* Global so debugger code can create a name */
		//\\InitializeThreading()

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -