代码搜索:thread

找到约 10,000 项符合「thread」的源代码

代码结果 10,000
www.eeworm.com/read/144216/5752174

t queue.t

use Thread; use Thread::Queue; $q = new Thread::Queue; sub reader { my $tid = Thread->self->tid; my $i = 0; while (1) { $i++; print "reader (tid $tid): waiting for element $i...\n"; m
www.eeworm.com/read/144216/5752177

pm semaphore.pm

package Thread::Semaphore; use Thread qw(cond_wait cond_broadcast); =head1 NAME Thread::Semaphore - thread-safe semaphores =head1 SYNOPSIS use Thread::Semaphore; my $s = new Thread::Semaph
www.eeworm.com/read/144216/5752184

t join.t

use Thread; sub foo { print "In foo with args: @_\n"; return (7, 8, 9); } print "Starting thread\n"; $t = new Thread \&foo, qw(foo bar baz); print "Joining with $t\n"; @results = $t->join();
www.eeworm.com/read/144216/5752186

t specific.t

use Thread; use Thread::Specific qw(foo); sub count { my $tid = Thread->self->tid; my Thread::Specific $tsd = Thread::Specific::data; for (my $i = 0; $i < 5; $i++) { $tsd->{foo} = $i;
www.eeworm.com/read/143622/5756242

java updatedaemon.java

/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 *
www.eeworm.com/read/143026/5760278

cpp activeobject.cpp

////////////////////////////////////////////////////////////////////// // FileFury // Copyright (c) 2000 Tenebril Incorporated // All rights reserved. // // This source code is governed by the Te
www.eeworm.com/read/142944/5761595

h asyncio.h

//------------------------------------------------------------------------------ // File: AsyncIo.h // // Desc: DirectShow sample code - base library for I/O functionality. // // Copyright (c) Mi
www.eeworm.com/read/142911/5761900

h processor.h

/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1994
www.eeworm.com/read/142648/5764162

java simpledialupmodem.java

/* * Copyright (c) 2000 jPOS.org. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions
www.eeworm.com/read/142648/5764268

java systemmonitor.java

/* * Copyright (c) 2000 jPOS.org. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions