代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/240204/4577699
java concurrentdequeloops.java
/*
* @test %I% %E%
* @bug 4486658
* @compile -source 1.5 ConcurrentDequeLoops.java
* @run main/timeout=230 ConcurrentDequeLoops
* @summary Checks that a set of threads can repeatedly get and
www.eeworm.com/read/240204/4577722
java concurrentqueueloops.java
/*
* @test %I% %E%
* @bug 4486658
* @compile -source 1.5 ConcurrentQueueLoops.java
* @run main/timeout=230 ConcurrentQueueLoops
* @summary Checks that a set of threads can repeatedly get and
www.eeworm.com/read/233955/4663243
cpp sys.cpp
// ------------------------------------------------
// File : sys.cpp
// Date: 4-apr-2002
// Author: giles
// Desc:
// Sys is a base class for all things systemy, like starting threads, creating soc
www.eeworm.com/read/231546/4714877
pod perlthrtut.pod
=head1 NAME
perlthrtut - tutorial on threads in Perl
=head1 DESCRIPTION
WARNING: Threading is an experimental feature. Both the interface
and implementation are subject to change drastical
www.eeworm.com/read/228954/4761335
cs synchronized.cs
// Fig. 11.5: Synchronized.cs
// Showing multiple threads modifying a shared object with
// synchronization.
using System;
using System.Threading;
namespace Synchronized
{
// this class
www.eeworm.com/read/228954/4761343
cs unsynchronized.cs
// Fig. 11.4: Unsynchronized.cs
// Showing multiple threads modifying a shared object without
// synchronization.
using System;
using System.Threading;
namespace Unsynchronized
{
// this
www.eeworm.com/read/225675/4793697
cpp sys.cpp
// ------------------------------------------------
// File : sys.cpp
// Date: 4-apr-2002
// Author: giles
// Desc:
// Sys is a base class for all things systemy, like starting threads, creating soc
www.eeworm.com/read/216781/4888041
c incr_fcntl1.c
/* Although this program compiles and runs for 1 thread, you cannot run
it with more than 1 thread, since fcntl locks are between processes,
not threads */
/* include main */
#include "unp
www.eeworm.com/read/216781/4888112
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
www.eeworm.com/read/216781/4888121
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