代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/243434/12941024
man pthread_sigmask.man
.TH PTHREAD_SIGNAL 3 LinuxThreads
.XREF pthread_kill
.XREF sigwait
.SH NAME
pthread_sigmask, pthread_kill, sigwait \- handling of signals in threads
.SH SYNOPSIS
#include
.br
#include
www.eeworm.com/read/242863/12976686
c thread.c
//
// Copyright (c) 1999
//
// A C++ implementation of posix threads, using Linux clone system
// calls.
//
// The implementation is identical to the implementation found in
// the linuxthreads packag
www.eeworm.com/read/242863/12976823
todo
Remove the C like syntax in several methods, and make them more class
oriented.
Make a common allocator unit, that is distinct for each thread. To
ensure that there is no race condition between thr
www.eeworm.com/read/242859/12978081
hpp pionengine.hpp
// -----------------------------------------------------------------
// libpion: a C++ framework for building lightweight HTTP interfaces
// -----------------------------------------------------------
www.eeworm.com/read/140684/13067899
cs lock.cs
using System;
using System.Threading;
internal class Account
{
int balance;
Random r = new Random();
internal Account(int initial)
{
balance = initial;
}
internal int Withdraw(
www.eeworm.com/read/140259/13093788
java barriersynch.java
/* =========================================================
Class to implement barrier sychronisation.
iveArrived(i) decrements this count and notifies All
the parameter is an id -- not n
www.eeworm.com/read/139738/13136992
java lotteryscheduler.java
package nachos.threads;
import nachos.machine.*;
import java.util.TreeSet;
import java.util.HashSet;
import java.util.Iterator;
/**
* A scheduler that chooses threads using a lottery.
*
*
*
www.eeworm.com/read/139738/13137001
java communicator.java
package nachos.threads;
import nachos.machine.*;
/**
* A communicator allows threads to synchronously exchange 32-bit
* messages. Multiple threads can be waiting to speak,
* and mul
www.eeworm.com/read/139738/13137004
java priorityscheduler.java
package nachos.threads;
import nachos.machine.*;
import java.util.TreeSet;
import java.util.HashSet;
import java.util.Iterator;
/**
* A scheduler that chooses threads based on their priorities.
*
www.eeworm.com/read/139738/13137331
makefile
DIRS = vm userprog threads machine security ag
include ../Makefile