代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/486343/6540062
h killprocess.h
// Kill a process by name
// by Eugene Polonsky
// NT4 requires separate handling, because it doesn't support the ToolHelp32 API
// for more details see http://www.codeproject.com/threads/killpr
www.eeworm.com/read/158402/11621073
java netprocess.java
package nachos.network;
import nachos.machine.*;
import nachos.threads.*;
import nachos.userprog.*;
import nachos.vm.*;
/**
* A VMProcess that supports networking syscalls.
*/
public clas
www.eeworm.com/read/344239/11896051
java simpledaemons.java
//: concurrency/SimpleDaemons.java
// Daemon threads don't prevent the program from ending.
import java.util.concurrent.*;
import static net.mindview.util.Print.*;
public class SimpleDaemons imp
www.eeworm.com/read/148833/12422579
h malloc-machine.h
/* Basic platform-independent macro definitions for mutexes,
thread-specific data and parameters for malloc.
SGI threads (sprocs) version.
Copyright (C) 2004 Wolfram Gloger .
P
www.eeworm.com/read/129891/14218896
c example01.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
void *doit(void *);
int
main(int argc, char **argv)
{
pthread_t tidA, tidB;
Pthread_create(&t
www.eeworm.com/read/129891/14218900
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc
www.eeworm.com/read/223685/14619317
txt pthread_cond_init.txt
pthread_cond_init Subroutine
Purpose
Initializes a condition variable and sets its attributes.
Library
Threads Library (libpthreads.a)
Syntax
#include
int pthread_cond_init (condi
www.eeworm.com/read/222777/14674040
c 14_sample_system.c
/* 14_case_study.c
Implement a simplified version of a real-time, video/audio/motion (VAM)
recording system.
Create three threads named: initializer, data_capture, event_recorder
www.eeworm.com/read/122239/14712049
c test_select.c
/*
** GNU Pth - The GNU Portable Threads
** Copyright (c) 1999-2004 Ralf S. Engelschall
**
** This file is part of GNU Pth, a non-preemptive thread scheduling
** library whic
www.eeworm.com/read/122239/14712053
c pth_lib.c
/*
** GNU Pth - The GNU Portable Threads
** Copyright (c) 1999-2004 Ralf S. Engelschall
**
** This file is part of GNU Pth, a non-preemptive thread scheduling
** library whic