代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/376006/2717901
c thread-thread.c
/* Processed by ecpg (regression mode) */
/* These include files are added by the preprocessor */
#include
#include
#include
#include
/* End of automat
www.eeworm.com/read/376006/2717854
c thread-thread_implicit.c
/* Processed by ecpg (regression mode) */
/* These include files are added by the preprocessor */
#include
#include
#include
#include
/* End of automat
www.eeworm.com/read/429563/8802757
10 (thread)~
1 进程:一个运行着的程序;
有独立的内存空间
2 线程:进程的一个执行流程;
多个线程共享相同的内存空间
代码的运行最终都体现都是 线程的运行
线程 减少内存的占用 和 提高运行效率(并发运行,所谓并发并不是同一时刻
运行多个线程,只是多个线程之间的切换速度非常快,让人感觉是同时运行而已)
单个CPU某个时刻只能运行一个线程
例如:java Test
1)启动虚拟机进程 ...
www.eeworm.com/read/178865/5312182
as thread.as
import com.gamepackage.events.*;
class com.gamepackage.events.Thread extends Call implements Executable
{
function Thread()
{
super.constructor.apply( this, arguments);
}
function s
www.eeworm.com/read/431999/1901637
as thread.as
import com.gamepackage.events.*;
class com.gamepackage.events.Thread extends Call implements Executable
{
function Thread()
{
super.constructor.apply( this, arguments);
}
function s
www.eeworm.com/read/192659/8367747
jav thread.jav
public class MyForm extends Form
{ public MyForm()
{ initForm();
Application.createThread(new MethodInvoker(MyThread),Thread.NORM_PRIORITY);
}
private void MyThread()
{
Graphics g=this
www.eeworm.com/read/292026/8381749
h thread.h
/*
Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
Governed by the TrueCrypt License 2.4 the full text of which is contained
in the file License.txt included in TrueCrypt binary