代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/200462/15432616
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/105565/15665152
todo
o Switch over to a multi-process or multi-threaded model so
that TCSADRAIN can be used without blocking all threads.
o Actually implement PAM-based authentication
o Implement a
www.eeworm.com/read/390106/8484060
htm listthreads.htm
Listing All Running Threads (Java Developers Almanac Example)
www.eeworm.com/read/431199/8702654
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
#include
www.eeworm.com/read/181164/9271826
h wymutex.h
/* Copyright is licensed under GNU LGPL. by I.J.Wang 2003
WyMutex provides serializing access of codes between threads.
*/
#ifndef WYMUTEX_H__
#define WYMUTEX_H__
#define WYMUTEX_V
www.eeworm.com/read/179967/9326071
c web01.c
/* include web1 */
#include "unpthread.h"
#include /* Solaris threads */
#define MAXFILES 20
#define SERV "80" /* port number or service name */
struct file {
char *f_name; /* filen
www.eeworm.com/read/179967/9326082
c web03.c
#include "unpthread.h"
#include /* Solaris threads */
#define MAXFILES 20
#define SERV "80" /* port number or service name */
struct file {
char *f_name; /* filename */
char *f_ho
www.eeworm.com/read/179967/9326108
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* incremented by threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc, char **arg
www.eeworm.com/read/426349/10257642
java one.java
// Create multiple threads.
import java.io.*;
import java.net.*;
import java.lang.*;
import java.util.*;
class NewThread implements Runnable
{
String name;
Thread t;
NewThread(String t
www.eeworm.com/read/426349/10257646
java two.java
// Create multiple threads.
import java.io.*;
import java.net.*;
import java.lang.*;
import java.util.*;
class NewThread implements Runnable
{
String name;
Thread t;
NewThread(String t