代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/470693/1465129
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
www.eeworm.com/read/246537/4493585
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/246537/4493590
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/243526/4526131
h nt.h
//
// OMNI thread implementation classes for NT threads.
//
#ifndef __omnithread_nt_h_
#define __omnithread_nt_h_
#include
#ifndef __BCPLUSPLUS__
#define OMNI_THREAD_WRAPPER
www.eeworm.com/read/243359/4529027
java messages.java
/*
* File : $Source: /usr/local/cvs/opencms/src/org/opencms/workplace/threads/Messages.java,v $
* Date : $Date: 2007-08-13 16:30:04 $
* Version: $Revision: 1.11 $
*
* This library is par
www.eeworm.com/read/237551/4625438
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/216802/4880578
m4 pthreads.m4
#
# Resolve how to compile Posix thread programs.
#
# serial 1
AC_DEFUN(AM_POSIX_THREADS,
[
#
# First, check the easily recognizable compilers.
#
AC_CANONICAL_HOST
# pgcc, pthreads gcc
www.eeworm.com/read/216802/4883327
c linuxwrapper.c
/*
* USB support based on Linux kernel source
*
* 2003-06-21 Georg Acher (georg@acher.org)
*
* Concept:
*
* 1) Forget all device interrupts, scheduling, semaphores, threads etc.
* 1a)
www.eeworm.com/read/205824/5018615
c linuxwrapper.c
/*
* USB support based on Linux kernel source
*
* 2003-06-21 Georg Acher (georg@acher.org)
*
* Concept:
*
* 1) Forget all device interrupts, scheduling, semaphores, threads etc.
* 1a)