代码搜索:philosopher
找到约 198 项符合「philosopher」的源代码
代码结果 198
www.eeworm.com/read/439266/7713791
plg philosopher.plg
Build Log
--------------------Configuration: Philosopher - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\A
www.eeworm.com/read/439266/7713792
rc philosopher.rc
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
www.eeworm.com/read/439266/7713794
aps philosopher.aps
www.eeworm.com/read/434001/7898428
h philosopher.h
/*
head file fo Problem of phisolopher
*/
#ifndef _PHILOSOPHER_H_
#define _PHILOSOPHER_H_
void systemInit(void);
void taskOfPh(int i);
void systemExit(void);
void monitor(void);
#endif
www.eeworm.com/read/196362/8097375
class philosopher.class
www.eeworm.com/read/333617/12668649
c philosopher.c
#include
#include
#include
#include
#include
#include
#include
#include
#define PhNum 5
#defi
www.eeworm.com/read/333281/12691938
class philosopher.class
www.eeworm.com/read/333281/12692012
java philosopher.java
import java.util.Random;
import org.jcsp.lang.CSProcess;
import org.jcsp.lang.CSTimer;
import org.jcsp.lang.ChannelOutput;
import org.jcsp.lang.Parallel;
import org.jcsp.plugNplay.ProcessWrite;
cla
www.eeworm.com/read/243354/12947402
c philosopher.c
/******************************************************************************
Copyright (c) 2006 by RockOS.
All rights reserved.
This software is supported by the Rock Software Work
www.eeworm.com/read/242863/12976606
c philosopher.c
#include "philosopher.h"
using namespace std;
philosopher::philosopher(int n, int forks, void *arg)
: Pthread(arg)
{
_nr = n;
_forks = forks;
_count = forks;
}
philosopher::~philosopher