代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/290808/3970825
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/289672/3989891
java threadsexploreritem.java
package SOMA.utility;
import java.io.*;
import java.util.*;
/** Stampa l'elenco dei threads attivi.
*
* @author Livio Profiri
*/
public class ThreadsExplorerItem extends SOMA.explorer.Explo
www.eeworm.com/read/279968/4129852
c td_ta_thr_iter.c
/* Iterate over a process's threads.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper , 1999.
www.eeworm.com/read/271376/4229093
java stresstest.java
/*
* $Log: StressTest.java,v $
* Revision 1.3 2003/02/07 11:31:07 mwulff
* no message
*
* Revision 1.2 2003/02/02 17:12:43 willaxt
* now multithreaded, number of threads as command lin
www.eeworm.com/read/268663/4250858
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/443386/1744363
c miscthings.c
#include "linux/threads.h"
#include "linux/stddef.h" // for NULL
#include "linux/elf.h" // for AT_NULL
/* The following function nicked from arch/ppc/kernel/process.c and
* adapted slightly */
/*
www.eeworm.com/read/438718/1822912
py test_fork1.py
"""This test checks for correct fork() behavior.
We want fork1() semantics -- only the forking thread survives in the
child after a fork().
On some systems (e.g. Solaris without posix threads) we fi
www.eeworm.com/read/438718/1822948
py test_thread.py
# Very rudimentary test of thread module
# Create a bunch of threads, let each do some work, wait until all are done
from test_support import verbose
import random
import thread
import time
mutex =
www.eeworm.com/read/438718/1823065
py test_thr.py
# Very rudimentary test of thread module
# Create a bunch of threads, let each do some work, wait until all are done
from test_support import verbose
import random
import thread
import time
mutex =
www.eeworm.com/read/427042/1979083
c mttest.c
/* crypto/threads/mttest.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com)