代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/158402/11620691
java condition.java
package nachos.threads;
import nachos.machine.*;
import java.util.LinkedList;
/**
* An implementation of condition variables built upon semaphores.
*
*
* A condition variable is a synchroni
www.eeworm.com/read/253791/12200060
cpp anim.cpp
// anim.cpp
// Animation module of the Threads demo program
// Copyright 1994, Mark Andrews
#include "stdafx.h"
#include "anim.h"
// ***************** Member functions of MAnimation class ***
www.eeworm.com/read/339738/12207856
java synchbanktest.java
/**
@version 1.20 1999-04-26
@author Cay Horstmann
*/
/**
This program shows how to avoid data corruption
when multiple threads access a data structure
*/
public class SynchBan
www.eeworm.com/read/233919/14128229
c demo.c
/* This is a small demo of the high-performance ThreadX kernel. It includes examples of six
threads of different priorities, message queues, semaphores, and event flags. */
#include "tx_api
www.eeworm.com/read/128880/14273927
c prodcons5.c
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
/* globals shared by threads */
int nitems; /* read-only by producer and consumer */
int buff[MAXNITEMS];
struct {
www.eeworm.com/read/223685/14619345
txt pthread_mutexattr_getprotocol.txt
pthread_mutexattr_getprotocol Subroutine
Purpose
Returns the value of the protocol attribute of a mutex attributes
object.
Library
Threads Library (libpthreads.a)
Syntax
#include
www.eeworm.com/read/223685/14619357
txt pthread_attr_getdetachstate.txt
pthread_attr_getdetachstate Subroutine
Purpose
Returns the value of the detachstate attribute of a thread attributes
object.
Library
Threads Library (libpthreads.a)
Syntax
#include
www.eeworm.com/read/223685/14619435
txt pthread_attr_getschedpolicy.txt
pthread_attr_getschedpolicy Subroutine
Purpose
Returns the value of the schedpolicy attribute of a thread attributes
object.
Library
Threads Library (libpthreads.a)
Syntax
#include
www.eeworm.com/read/223685/14619438
txt pthread_mutexattr_setprioceiling.txt
pthread_mutexattr_setprioceiling Subroutine
Purpose
Sets the value of the prioceiling attribute of a mutex attributes
object.
Library
Threads Library (libpthreads.a)
Syntax
#include
www.eeworm.com/read/223685/14619440
txt pthread_attr_setinheritsched.txt
pthread_attr_setinheritsched Subroutine
Purpose
Sets the value of the inheritsched attribute of a thread attributes
object.
Library
Threads Library (libpthreads.a)
Syntax
#include