代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/408584/11380434
lc example01.lc
#include "unpthread.h"## 1 ##src/threads/example01.c##
#define NLOOP 5000## 2 ##src/threads/example01.c##
int counter; /* this is incremented by the threads */## 3 ##src/thr
www.eeworm.com/read/408584/11380457
lc example02.lc
#include "unpthread.h"## 1 ##src/threads/example02.c##
#define NLOOP 5000## 2 ##src/threads/example02.c##
int counter; /* this is incremented by the threads */## 3 ##src/thr
www.eeworm.com/read/403956/11495166
h showtsshape.h
//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//------------------------------------------------------
www.eeworm.com/read/347238/11680668
c pi-solution.c
#include
#include
#define NUM_STEPS 1000000
#define NUM_THREADS 4
double gStep = 0.0;
double gPi = 0.0;
pthread_mutex_t gLock;
void *threadFunction(void *pArg)
{
int myNum
www.eeworm.com/read/157172/11734987
c appthreads.c
/*
* Copyright 2002 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
*
www.eeworm.com/read/156908/11753067
c mrflsh3.c
/*
* MIRACL flash trig.
* mrflsh3.c
*
* Copyright (c) 1988-2001 Shamus Software Ltd.
*/
#include
#include "miracl.h"
#ifdef MR_FLASH
#define TAN 1
#define SIN 2
#d
www.eeworm.com/read/156004/11835719
c appthreads.c
/*
* Copyright 2002 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
*
www.eeworm.com/read/258403/11865453
c appthreads.c
/*
* Copyright 2002 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
*
www.eeworm.com/read/258382/11866959
cpp main.cpp
/*
This sample application asynchronously reads data from a driver, using the IOCP API.
It uses multiple threads and multiple reads on the driver, making it a robust and fast
data reader.
Cr
www.eeworm.com/read/251583/12332244
omptl_algorithm
// Copyright (C) 2006 Fokko Beekhof
// Email contact: Fokko.Beekhof@cui.unige.ch
// The OMPTL library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser G