代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/118810/14853896
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc
www.eeworm.com/read/113945/15120199
c example01.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
void *doit(void *);
int
main(int argc, char **argv)
{
pthread_t tidA, tidB;
Pthread_create(&t
www.eeworm.com/read/113945/15120216
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc
www.eeworm.com/read/489022/1226401
java psucker.java
package ie.vnit.webcrawler;
import ie.vnit.threads.*;
import java.net.*;
public class PSucker implements MessageReceiver {
public PSucker(Queue q, int maxLevel, int maxThreads)
throws Instan
www.eeworm.com/read/472280/1412018
frag config.frag
#
# ia64/Linux configuration
#
if test x"$with_threads" = x"unix-pthreads" ; then
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
fi
# if we use cross environment, following values may not be detected.
if [ "$cro
www.eeworm.com/read/472280/1412161
frag config.frag
#
# i386/Linux configuration
#
if test x"$with_threads" = x"unix-pthreads" ; then
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
fi
# if we use cross environment, following values may not be detected.
if [ "$cro
www.eeworm.com/read/470917/1441289
c nscd_setup_thread.c
/* Setup of nscd worker threads. Linux verison.
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper
www.eeworm.com/read/470713/1453239
java thread_wait_interrupt.java
// Create two threads waiting on a monitor. Interrupt one of them. Does the
// other wake up correctly?
// Origin: Bryce McKinlay
class Waiter extends Thread
{
Object monit