代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/158402/11620684
java semaphore.java
package nachos.threads;
import nachos.machine.*;
/**
* A Semaphore is a synchronization primitive with an unsigned value.
* A semaphore has only two operations:
*
*
* P()
www.eeworm.com/read/158402/11620691
java condition.java
package nachos.threads;
import nachos.machine.*;
import java.util.LinkedList;
/**
* An implementation of condition variables built upon semaphores.
*
*
* A condition variable is a synchroni
www.eeworm.com/read/158402/11620742
java alarm.java
package nachos.threads;
import nachos.machine.*;
/**
* Uses the hardware timer to provide preemption, and to allow threads to sleep
* until a certain time.
*/
public class Alarm {
/**
*
www.eeworm.com/read/158402/11620773
java autograder.java
// PART OF THE MACHINE SIMULATION. DO NOT CHANGE.
package nachos.ag;
import nachos.machine.*;
import nachos.security.*;
import nachos.threads.*;
import java.util.Hashtable;
import java.util.StringT
www.eeworm.com/read/260753/11704107
cpp stdafx.cpp
// stdafx.cpp : 只包括标准包含文件的源文件
// Thread.pch 将是预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
www.eeworm.com/read/156535/11793360
java busyflag.java
/*
*
* Copyright (c) 1997-1999 Scott Oaks and Henry Wong. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purpose
www.eeworm.com/read/156535/11793386
java busyflag1.java
/*
*
* Copyright (c) 1997-1999 Scott Oaks and Henry Wong. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purpose
www.eeworm.com/read/156535/11793388
java busyflag.java
/*
*
* Copyright (c) 1997-1999 Scott Oaks and Henry Wong. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purpose
www.eeworm.com/read/156535/11793396
java busyflag2.java
/*
*
* Copyright (c) 1997-1999 Scott Oaks and Henry Wong. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purpose
www.eeworm.com/read/156535/11793475
java busyflag.java
/*
*
* Copyright (c) 1997-1999 Scott Oaks and Henry Wong. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purpose