代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/161674/10386715
std test4.std
Multi level queue scheduling
Starting at Ticks: total 10
Queuing threads.
Queuing thread threadA at Time 10, priority 2
Queuing thread threadB at Time 20, priority 2
Queuing thread threadC at Time 30,
www.eeworm.com/read/161674/10386753
std test3.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/161674/10386757
std test2.std
Preemptive Priority scheduling
Starting at Ticks: total 10
Queuing threads.
Queuing thread threadA at Time 10, priority 5
threadA, Starting Burst of 29 Ticks: total 30
threadA, Still 28 to go Ticks: t
www.eeworm.com/read/278507/10530199
c test04.c
/* test readline() */
#include "unpthread.h"
static char *infile; /* from argv[1]; read-only by threads */
void *
myfunc(void *ptr)
{
int i, fdin;
char buf[MAXLINE];
FILE *fpout;
snprintf(buf
www.eeworm.com/read/278507/10530204
c example01.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* incremented by threads */
void *doit(void *);
int
main(int argc, char **argv)
{
pthread_t tidA, tidB;
Pthread_create(&tidA, NULL, &
www.eeworm.com/read/423262/10575726
h faq.h
/*! \page faq MeshMaker Frequently Asked Question
*
- Q: I'm trying to add my own OpenGL commands, but they all fail. Why?\n
A: OpenGL doesn't work with threads. Meaning, only one thread at
www.eeworm.com/read/470055/6923921
cpp trdlocal.cpp
// trdlocal.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#ifndef CRYPTOPP_IMPORTS
#ifdef THREADS_AVAILABLE
#include "trdlocal.h"
#ifdef HAS_WINTHREADS
#inclu
www.eeworm.com/read/465112/6966591
c lwld.c
/*
Speak Freely for Win32
Look Who's Listening Server
This is the Win32 of the LWL daemon.
*/
#include "speakfree.h"
#ifdef THREADS
#include
#define Lock(x) pt
www.eeworm.com/read/450639/7479435
c lwld.c
/*
Speak Freely for Win32
Look Who's Listening Server
This is the Win32 of the LWL daemon.
*/
#include "speakfree.h"
#ifdef THREADS
#include
#define Lock(x) pt
www.eeworm.com/read/449651/7499069
java sharedcell2.java
// Show multiple threads modifying shared object.
import java.text.DecimalFormat;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class SharedCell extends JFrame