代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/392996/8316168
std test.2.std
Shortest Remaining Time Next (SRTN) scheduling
Starting at Ticks: total 10
Queuing threads.
Queuing thread threadA at Time 10, priority 0
threadA, Starting Burst of 29 Ticks: total 30
threadA, Still 2
www.eeworm.com/read/392996/8316192
1
Shortest Job First (SJF) scheduling
Starting at Ticks: total 10
Queuing threads.
Queuing thread threadA at Time 10, priority 0
Queuing thread threadB at Time 20, priority 0
Queuing thread threadC at T
www.eeworm.com/read/392996/8316226
std test.4.std
Round robin scheduling
Starting at Ticks: total 10
Queuing threads.
Queuing thread threadA at Time 10, priority 0
Queuing thread threadB at Time 20, priority 0
Queuing thread threadC at Time 30, prior
www.eeworm.com/read/392996/8316248
std test.1.std
Shortest Job First (SJF) scheduling
Starting at Ticks: total 10
Queuing threads.
Queuing thread threadA at Time 10, priority 0
Queuing thread threadB at Time 20, priority 0
Queuing thread threadC at T
www.eeworm.com/read/392996/8316251
std test.5.std
Multiple Queues scheduling
Starting at Ticks: total 10
Queuing threads.
Queuing thread threadA at Time 10, priority 20
threadA, Starting Burst of 20 Ticks: total 30
threadA, Still 19 to go Ticks: tota
www.eeworm.com/read/173458/9657076
cpp list8-2.cpp
// Listing 8-1
// This program demonstrates the
// use of a lockable global variable Number updated by
// two threads
#include
#include
#include
#include
www.eeworm.com/read/170798/9789432
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
www.eeworm.com/read/412894/11177192
cc main.cc
//#include
#include
#include
#include "Kpassport.h"
#include "Khelper.h"
int main(int argc, char *argv[])
{
if(argc == 1)
{
//init threads
if(
www.eeworm.com/read/134939/13969968
java threadexample.java
/*
Threads are needed when you want to perfom actions over and over again.
We want to show the current time and update that every second.
*/
import java.awt.*;
import java.applet.*;
// We ne
www.eeworm.com/read/133019/14057704
cpp trdlocal.cpp
// trdlocal.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#ifndef CRYPTOPP_IMPORTS
#include "trdlocal.h"
#include
#ifdef THREADS_AVAILABLE
NAMES