代码搜索:SYNCHRONIZATION
找到约 1,570 项符合「SYNCHRONIZATION」的源代码
代码结果 1,570
www.eeworm.com/read/287180/8711853
java semaphore.java
package Synchronization;
public abstract class Semaphore {
// if value < 0, then abs(value) is the size of the P() queue
protected int value = 0;
protected Semaphore() {value = 0;}
// p
www.eeworm.com/read/287180/8711877
java objpipedmessagepassing.java
package Synchronization;
import java.net.*;
import java.io.*;
// like a bounded buffer with multiple producers and consumers
public final class ObjPipedMessagePassing extends MessagePassingRoot {
www.eeworm.com/read/287180/8711890
java asyncmessagepassing.java
package Synchronization;
import Utilities.*;
import java.util.Vector;
// like the multiple producers and multiple consumers with
// an infinite buffer
public final class AsyncMessagePassing extends
www.eeworm.com/read/287180/8711926
java adventuredragon.java
import Utilities.*;
import Synchronization.*;
class Adventurer extends MyObject implements Runnable {
private int cntStones;
private int cntRings;
private int cntNecklaces;
priva
www.eeworm.com/read/386607/8735772
java novisibility.java
package net.jcip.examples;
/**
* NoVisibility
*
* Sharing variables without synchronization
*
* @author Brian Goetz and Tim Peierls
*/
public class NoVisibility {
private static boole
www.eeworm.com/read/385844/8786217
h synchlist.h
// synchlist.h
// Data structures for synchronized access to a list.
//
// Implemented by surrounding the List abstraction
// with synchronization routines.
//
// Copyright (c) 1992-1993 The Regents
www.eeworm.com/read/181788/9236978
txt readme_countingsemdemo.txt
FLE LIST -
countingSemDemo.c
DESCRIPTION -
Counting semaphore example. Using binary semaphores for task
synchronization may, if the events can occur rapidly enough, cause
www.eeworm.com/read/177261/9462826
readme_intgen
FILE LIST -
intGen.c
DESCRIPTION -
This demo generates a VMEbus interrupt to demonstrate
synchronization among tasks on multiple CPUs.
The intGen() routine counts down fro
www.eeworm.com/read/177261/9462888
readme_countingsemdemo
FLE LIST -
countingSemDemo.c
DESCRIPTION -
Counting semaphore example. Using binary semaphores for task
synchronization may, if the events can occur rapidly enough, cause
www.eeworm.com/read/161674/10386732
h synchlist.h
// synchlist.h
// Data structures for synchronized access to a list.
//
// Implemented by surrounding the List abstraction
// with synchronization routines.
//
// Copyright (c) 1992-1993 The Regents