代码搜索:Threads

找到约 7,387 项符合「Threads」的源代码

代码结果 7,387
www.eeworm.com/read/349468/10826401

java synchbanktest2.java

/** @version 1.30 2004-08-01 @author Cay Horstmann */ /** This program shows how multiple threads can safely access a data structure, using synchronized methods. */ public clas
www.eeworm.com/read/444606/7610939

c prodcons7.c

/* include globals */ #include "unpipc.h" #define MAXNITEMS 1000000 #define MAXNTHREADS 100 /* globals shared by threads */ int nitems; /* read-only by producer and consumer */ int buff[M
www.eeworm.com/read/444606/7610950

c prodcons6.c

/* include globals */ #include "unpipc.h" #define MAXNITEMS 1000000 #define MAXNTHREADS 100 /* globals shared by threads */ int nitems; /* read-only by producer and consumer */ int buff[M
www.eeworm.com/read/199429/7860501

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;
www.eeworm.com/read/196747/8063512

htm my_index.htm

{lang my_threads_last_five}
www.eeworm.com/read/142657/12932235

cpp worker.cpp

/* * Worker.cpp * * Sample code for "Multithreading Applications in Win32" * This is from Chapter 14, Listing 14-3 * * Demonstrate using worker threads that have * their own message queu
www.eeworm.com/read/142657/12932590

c srchwin.c

/* * SrchWin.c * * Sample code for "Multithreading Applications in Win32" * This is from Chapter 8, Listing 8-2 * * Uses multiple threads to search the files * "*.c" in the current dire
www.eeworm.com/read/242863/12976753

c descriptors.c

// // Copyright (C) 2000 Orn E. Hansen // // A C++ implementation of threaded IO. // #include "io.h" namespace cpp_threads { DescriptorSet::DescriptorSet() { zero(); } DescriptorSet::~
www.eeworm.com/read/139738/13136990

java semaphore.java

package nachos.threads; import nachos.machine.*; /** * A Semaphore is a synchronization primitive with an unsigned value. * A semaphore has only two operations: * * * P()
www.eeworm.com/read/239187/13298186

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;