代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/392996/8316265
cpp thread.cpp
// thread.cc
// Routines to manage threads. There are four main operations:
//
// Fork -- create a thread to run a procedure concurrently
// with the caller (this is done in two steps -- first
//
www.eeworm.com/read/173976/9617298
txt pt-doc.txt
/**
\defgroup pt Protothreads
Protothreads are a type of lightweight stackless threads designed for
severly memory constrained systems such as deeply embedded systems or
sensor network nodes. Protot
www.eeworm.com/read/171829/9734694
cpp simple_thread.cpp
#include
// This is a child thread procedure that waits for a semaphore,
// holds the semaphore for five seconds, and releases the semaphore.
// Threads that cannot get semaphores w
www.eeworm.com/read/171829/9735604
cpp create_semaphore.cpp
#include
// This is a child thread procedure that waits for a semaphore,
// holds the semaphore for five seconds, and releases the semaphore.
// Threads that cannot get semaphores w
www.eeworm.com/read/367406/9752097
cpp create_semaphore.cpp
#include "genstub.cpp"
// This is a child thread procedure that waits for a semaphore,
// holds the semaphore for five seconds, and releases the semaphore.
// Threads that cannot get semaphores w
www.eeworm.com/read/366806/9798229
java threadlocalexample.java
public class ThreadLocalExample extends Thread
{
// Static instance for all threads to use
private static MyThreadLocal theadLocal = new MyThreadLocal();
// Holds which thread number this instan
www.eeworm.com/read/248818/12539708
c countc.c
//
// CountC.c -- Tracks the number of active client threads
//
#include "httpMT.h"
DWORD gdwClientCount = 0;
CRITICAL_SECTION gcriticalClients;
HANDLE ghNoClients;
//////////////////////
www.eeworm.com/read/335269/12542008
txt pt-doc.txt
/**
\defgroup pt Protothreads
Protothreads are a type of lightweight stackless threads designed for
severly memory constrained systems such as deeply embedded systems or
sensor network nodes. Protot
www.eeworm.com/read/235522/14065479
cc thread.cc
// thread.cc
// Routines to manage threads. There are four main operations:
//
// Fork -- create a thread to run a procedure concurrently
// with the caller (this is done in two steps -- first
//
www.eeworm.com/read/132541/14084333
java banking.java
package examples.threads;
/** A class to demonstrate wait and notify methods
*/
public class Banking {
/** The test method for the class
* @param args[0] Time in seconds for which