代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/128880/14273775
c incr_pxsem1.c
/* include main */
#include "unpipc.h"
#define MAXNTHREADS 100
int nloop;
struct {
sem_t mutex; /* the memory-based semaphore */
long counter;
} shared;
void *incr(void *);
int
main(int arg
www.eeworm.com/read/128681/14282224
pas psithreadmgr.pas
unit PsiThreadMgr;
//******************************************************************************
// The original software is under
// Copyright (c) 1993 - 2000, Chad Z. Hower (Kudzu)
// and
www.eeworm.com/read/230049/14307674
java daemons.java
//: c13:Daemons.java
// Daemon threads spawn other daemon threads.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import jav
www.eeworm.com/read/127981/14322905
java randomcharacters.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class RandomCharacters extends JApplet implements ActionListener {
private String alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"