代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/101015/6262321
c fastcopy.c
/* fastcopy - use multiple threads to whack data from one file to another
*/
#define INCL_DOSPROCESS
#define INCL_DOSSEMAPHORES
#if defined (OS2)
#include
#endif
#include
www.eeworm.com/read/100926/6263173
cpp cpp-unserver.cpp
// CPP-unserver.cpp,v 4.15 2002/03/06 21:48:02 nanbor Exp
// This example tests the features of the ACE_LSOCK_Acceptor and
// ACE_LSOCK_Stream classes. If the platform supports threads it uses
/
www.eeworm.com/read/408584/11380423
c web01.c
/* include web1 */
#include "unpthread.h"
#include /* Solaris threads */
#define MAXFILES 20
#define SERV "80" /* port number or service name */
struct file {
char *f_name; /* filen
www.eeworm.com/read/408584/11380437
c web03.c
#include "unpthread.h"
#include /* Solaris threads */
#define MAXFILES 20
#define SERV "80" /* port number or service name */
struct file {
char *f_name; /* filename */
char *f_ho
www.eeworm.com/read/408584/11380468
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* incremented by threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc, char **arg
www.eeworm.com/read/158402/11620745
java vmkernel.java
package nachos.vm;
import nachos.machine.*;
import nachos.threads.*;
import nachos.userprog.*;
import nachos.vm.*;
/**
* A kernel that can support multiple demand-paging user processes.
*/
public
www.eeworm.com/read/253791/12200067
h anim.h
// anim.h
// Header file for the animation module
// of the Threads demo program
#ifndef __ANIMATION_H
#define __ANIMATION_H
#define ABS(x) ((x) < 0? -(x) : (x) > 0? (x) : 0)
const int STA
www.eeworm.com/read/337446/12368352
h args.h
/* args.h
An abstract class to pass values to maplay and other worker
threads.
From the Win32 API, we can only pass one 32-bit value to a thread. This will
be a pointer to a object of this c