代码搜索:Notify
找到约 4,184 项符合「Notify」的源代码
代码结果 4,184
www.eeworm.com/read/356031/10238698
txt day12.txt
多线程:
多线程的同步:
多线程并发访问同一个对象(临界资源),如果不对线程进行同步控制,破坏了原子操作(不可再分的操作),则会造成临界资源(两个线程同时访问的资源)的数据不一致。
每一个对象都有一个互斥的锁标记和一个锁池。当线程拥有这个对象的锁标记时才能访问这个资源,没有锁标记便进入锁池,保证在同步代码块中只有一个线程,解决了多线程同步控制的问题。
关键 ...
www.eeworm.com/read/162314/10315145
cpp main.cpp
//main.cpp
#include "Subject.h"
#include "Observer.h"
#include
using namespace std;
int main(int argc,char* argv[])
{
ConcreteSubject* sub = new ConcreteSubject();
Observe
www.eeworm.com/read/423159/10583383
asm isr.asm
SECTION .data
EXTERN _OSIntNesting
EXTERN _OSTCBCur
EXTERN _kybd_queue
EXTERN _com1_queue
SECTION .text
ALIGN 16
BITS 32
GLOBAL _KeyboardISR
GLOBAL _SerialISR
EXTERN _O
www.eeworm.com/read/278011/10584153
txt 分布式对话服务器的管理(3).txt
作者:运气
email: webmaster@chinaspx.com
日期:7/4/2001 1:41:45 PM
当添加或删除一个Memory对象时,经过同步的本地Mnemosyne对象需要对所有的Mnemosyne进行更新,可以通过notify()方法来完成这一任务。无论是发生write或take事件,Mnemosyne都会针对发生的事件调用适当的监听者的notify()方法。在s
www.eeworm.com/read/352060/10584480
cpp main.cpp
//main.cpp
#include "Subject.h"
#include "Observer.h"
#include
using namespace std;
int main(int argc,char* argv[])
{
ConcreteSubject* sub = new ConcreteSubject();
Observe
www.eeworm.com/read/277982/10588859
cpp stdafx.cpp
// stdafx.cpp : source file that includes just the standard includes
// Wdm2Notify.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdaf
www.eeworm.com/read/275985/10778790
pas msi_diskmonitor.pas
//{$DEFINE TRIAL} // delete this line to remove nag screen
{*******************************************************}
{ }
{ MiTeC Syste
www.eeworm.com/read/420332/10802979
java numberstore.java
class NumberStore{
private int data;
private boolean haveData;
public synchronized int getData(){
while(haveData == false){
try{
wait();
}catch(I
www.eeworm.com/read/349668/10805588
txt 分布式对话服务器的管理(3).txt
作者:运气
email: webmaster@chinaspx.com
日期:7/4/2001 1:41:45 PM
当添加或删除一个Memory对象时,经过同步的本地Mnemosyne对象需要对所有的Mnemosyne进行更新,可以通过notify()方法来完成这一任务。无论是发生write或take事件,Mnemosyne都会针对发生的事件调用适当的监听者的notify()方法。在s
www.eeworm.com/read/275622/10807321
cpp main.cpp
/********************************************************************
created: 2006/07/21
filename: Main.cpp
author: 李创
http://www.cppblog.com/converse/
purpose: Observer模