代码搜索:philosopher
找到约 198 项符合「philosopher」的源代码
代码结果 198
www.eeworm.com/read/468262/6995677
c philosopher.c
#include "lock.h"
#include "lock.c"
#include "apue.h"
#define N 5
int nsecs=2;
static char * forks[5] = {"fork0", "fork1", "fork2", "fork3", "fork4"};
void philosopher(int i);
void takeFork(i
www.eeworm.com/read/332978/7142107
java philosopher.java
//: concurrency/Philosopher.java
// A dining philosopher
import java.util.concurrent.*;
import java.util.*;
import static net.mindview.util.Print.*;
public class Philosopher implements Runnable
www.eeworm.com/read/447337/7554297
c philosopher.c
#include"apue.h"
#include"lock.h"
#include
int main(int argc,char *argv[])
{
int t,i;
pid_t pid[6];
if(argc>3||argc
www.eeworm.com/read/439266/7713776
dsp philosopher.dsp
# Microsoft Developer Studio Project File - Name="Philosopher" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x8
www.eeworm.com/read/439266/7713777
h philosopher.h
// Philosopher.h : main header file for the PHILOSOPHER application
//
#if !defined(AFX_PHILOSOPHER_H__D813361C_841D_466A_9232_6A19D8E98A7A__INCLUDED_)
#define AFX_PHILOSOPHER_H__D813361C_841D_46
www.eeworm.com/read/439266/7713780
opt philosopher.opt
www.eeworm.com/read/439266/7713781
ncb philosopher.ncb
www.eeworm.com/read/439266/7713782
dsw philosopher.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/439266/7713784
cpp philosopher.cpp
// Philosopher.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "Philosopher.h"
#include "MainFrm.h"
#include "PhilosopherDoc.h"
#include "PhilosopherVi
www.eeworm.com/read/439266/7713785
clw philosopher.clw
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CPhilosopherView
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "P