代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/223355/14643808
txt 漫谈兼容内核之十五:windows线程的等待、唤醒机制.txt
漫谈兼容内核之十五:Windows线程的等待/唤醒机制
[align=center] 毛德操[/align]
对于任何一个现代的操作系统,进程间通信都是不可或缺的。
共享内存区显然可以用作进程间通信的手段。两个进程把同一组物理内存页面分别映射到各自的用户空间,然后一个进程往里面写,另一个进程就可以读到所写入的内容。所以,共享内存区天然就是一种进程间通信机制。但是这又是 ...
www.eeworm.com/read/223355/14643833
txt 漫谈兼容内核之二十windows线程的系统空间堆栈.txt
漫谈兼容内核之二十:Windows线程的系统空间堆栈
漫谈兼容内核之二十:Windows线程的系统空间堆栈 毛德操 在计算机技术的发展史上,堆栈的发明有着划时代的意义。从那以后,实际上已经不再存在可以脱离堆栈而运行的程序。我们从堆栈的用途和内容可以看出其重要性:? l 记录子程序调用的轨迹,使嵌套的(多层的)子程序调用成为可能。? l 通过堆栈传递子程序调用参数,使程序设计得以简化。要是 ...
www.eeworm.com/read/223339/14644486
cpp algo0607.cpp
void InThreading(BiThrTree p) { // 算法6.7
if (p) {
InThreading(p->lchild); // 左子树线索化
if (!p->lchild) // 建前驱线索
{ p->LTag = Thread; p->lchild = pre; }
if (!pre->rchild) //
www.eeworm.com/read/123082/14649298
java tower.java
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Tower extends Frame implements ActionListener,Runnable
{
HannoiTower tower=null;
Button renew,auto=null;
cha
www.eeworm.com/read/222875/14669823
java tower.java
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Tower extends Frame implements ActionListener,Runnable
{
HannoiTower tower=null;
Button renew,auto=null;
cha
www.eeworm.com/read/122710/14673827
cpp mthread.cpp
// MThread.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include
#include
#define MM_NEWWIN 8001
typedef struct _PTHREADLIST
{
www.eeworm.com/read/222743/14677409
cpp responsiveui.cpp
//: C11:ResponsiveUI.cpp {RunByHand}
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions sta
www.eeworm.com/read/222284/14698140
java synchronous.java
/*
|
| Synchronous.java
|
| Synchronous class
| James Shin Young
|
| Created: February 22, 1998
|
| Copyright (c) 1998 by James Shin Young and the Regents
| of the University of C
www.eeworm.com/read/122243/14711477
c thrd.c
/**
* A pthread program illustrating how to
* create a simple thread and some of the pthread API
* This program implements the summation function where
* the summation operation is run as a separa
www.eeworm.com/read/121258/14763741
htm read.cgi-read=10344.htm
Re: Serial Port Programming Questions