代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/366065/9834048
c tclthread.c
/*
* tclThread.c --
*
* This file implements Platform independent thread operations.
* Most of the real work is done in the platform dependent files.
*
* Copyright (c) 1998 by Sun Microsystem
www.eeworm.com/read/366065/9835097
c tclunixthrd.c
/*
* tclUnixThrd.c --
*
* This file implements the UNIX-specific thread support.
*
* Copyright (c) 1991-1994 The Regents of the University of California.
* Copyright (c) 1994-1997 Sun Microsyst
www.eeworm.com/read/167847/9950130
c incr_pxmutex1.c
/* include main */
#include "unpipc.h"
#define MAXNTHREADS 100
int nloop;
struct {
pthread_mutex_t mutex;
long counter;
} shared = { PTHREAD_MUTEX_INITIALIZER };
void *incr(void *);
int
main
www.eeworm.com/read/167847/9950146
c incr_pxmutex0.c
/* include main */
#include "unpipc.h"
#define MAXNTHREADS 100
int nloop;
struct {
pthread_mutex_t mutex;
long counter;
} shared = { PTHREAD_MUTEX_INITIALIZER };
void *incr(void *);
int
main
www.eeworm.com/read/359577/10135644
cpp wait.cpp
// wait.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "wait.h"
#include "misc.h"
#ifdef SOCKETS_AVAILABLE
#ifdef USE_BERKELEY_STYLE_SOCKETS
#include
www.eeworm.com/read/162295/10317670
cpp queue.cpp
/******************************************************************************
Module: Queue.cpp
Notices: Copyright (c) 2000 Jeffrey Richter
******************************************************
www.eeworm.com/read/279967/10373785
cpp queue.cpp
/******************************************************************************
Module: Queue.cpp
Notices: Copyright (c) 2008 Jeffrey Richter & Christophe Nasarre
*********************************
www.eeworm.com/read/278026/10580824
c mutexes.c
/************************************************************
Module name: Mutexes.C
Notices: Copyright (c) 1995-1997 Jeffrey Richter
************************************************************/
www.eeworm.com/read/421538/10731496
cpp queue.cpp
/******************************************************************************
Module: Queue.cpp
Notices: Copyright (c) 2000 Jeffrey Richter
******************************************************
www.eeworm.com/read/273916/10894748
c thread_test.c
#include
#include
#include
void *print_message_function( void *ptr );
pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;
int counter = 0;
main()
{
pthread_t t