代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/162614/5536988
java thread_join.java
// Many threads join a single thread.
class Sleeper implements Runnable
{
int num = -1;
public Sleeper(int num)
{
this.num = num;
}
public void run()
{
System.out.println("s
www.eeworm.com/read/162614/5538124
todo
std::allocator
- switch to mt_allocator with --enable-threads=posix.
- persistent allocator
- global/extern allocator
std::string
- Policy-based design incorporating COW
vs. deep co
www.eeworm.com/read/162519/5546472
java thread_wait_interrupt.java
// Create two threads waiting on a monitor. Interrupt one of them. Does the
// other wake up correctly?
class Waiter extends Thread
{
Object monitor;
int thread_num;
boolean interrupted = fals
www.eeworm.com/read/162519/5546520
java thread_join.java
// Many threads join a single thread.
class Sleeper implements Runnable
{
int num = -1;
public Sleeper(int num)
{
this.num = num;
}
public void run()
{
System.out.println("s
www.eeworm.com/read/267326/11182925
cpp trdlocal.cpp
// trdlocal.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "trdlocal.h"
#ifdef THREADS_AVAILABLE
NAMESPACE_BEGIN(CryptoPP)
ThreadLocalStorage::Err::Err
www.eeworm.com/read/111979/15498619
htm read.cgi-read=10105.htm
Q: Is there a SendMessage for Threads?
www.eeworm.com/read/106368/15638614
c detached.c
#include
#include
int exitCond=0;
using namespace cpp_threads;
class simple : public Pthread {
protected:
Semaphore m_sem;
public:
simple() { };
~simple() { }
int t
www.eeworm.com/read/106368/15638653
c exception.c
//
// Implemention of thread exceptions.
#include "thread.h"
#include "stack.h"
#include "exception.h"
#include
#include
namespace cpp_threads {
exception::exception(const s
www.eeworm.com/read/106368/15638689
h acconfig.h
/* Define if the C++ compiler supports BOOL */
#undef HAVE_BOOL
#undef VERSION
#undef PACKAGE
/* defines if debug is wanted */
#undef THREADS_DEBUG
/* defines if having libc2.2 sigaction */
#undef
www.eeworm.com/read/105405/15668335
pas spcomm.pas
unit SPComm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
const
// messages from read/write threads
PWM_GOTCOMMDATA = WM_USER + 1;
PWM_R