代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/156503/11796209
java synchbanktest2.java
/**
@version 1.30 2004-08-01
@author Cay Horstmann
*/
/**
This program shows how multiple threads can safely access a data structure, using
synchronized methods.
*/
public clas
www.eeworm.com/read/339738/12207850
java unsynchbanktest2.java
/**
@version 1.21 2001-10-26
@author Cay Horstmann
*/
import java.text.*;
/**
This program shows data corruption
when multiple threads access a data structure.
This versio
www.eeworm.com/read/148833/12422538
c arena.c
/* Malloc implementation for multiple threads without lock contention.
Copyright (C) 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Wolfram Gloger
www.eeworm.com/read/148833/12422618
c malloc-stats.c
/* Malloc implementation for multiple threads; statistics printing.
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Wolfram Gloger
www.eeworm.com/read/128880/14273920
c prodcons7.c
/* include globals */
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
/* globals shared by threads */
int nitems; /* read-only by producer and consumer */
int buff[M
www.eeworm.com/read/128880/14273940
c prodcons6.c
/* include globals */
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
/* globals shared by threads */
int nitems; /* read-only by producer and consumer */
int buff[M
www.eeworm.com/read/228626/14374171
cs spiderman.cs
namespace ShootSearch.Spiders
{
public interface SpiderMan
{
void AcceptJob(string p_baseUrl,int threads);
void setIndexPath(string p_strPath);
void StopWork();
bool IsStoped();
}
www.eeworm.com/read/126957/14391588
c m_linuxthr.c
/*
* top - a top users display for Unix
*
* SYNOPSIS: 2.x with thread eliding
*
* DESCRIPTION:
* This is the machine-dependent module for Linux 2.x that elides threads
* from the output.
*
*
www.eeworm.com/read/223685/14619269
txt pthread_mutex_getprioceiling.txt
pthread_mutex_getprioceiling Subroutine
Purpose
Returns the current value of the prioceiling attribute of a mutex.
Library
Threads Library (libpthreads.a)
Syntax
#include
int pthr
www.eeworm.com/read/223685/14619328
txt pthread_attr_setdetachstate.txt
pthread_attr_setdetachstate Subroutine
Purpose
Sets the value of the detachstate attribute of a thread attributes
object.
Library
Threads Library (libpthreads.a)
Syntax
#include
i