GithubHelp home page GithubHelp logo

smlzhhh / philosopher-dining Goto Github PK

View Code? Open in Web Editor NEW

This project forked from newgr8player/philosopher-dining

0.0 0.0 0.0 38 KB

哲学家就餐问题(预先分配预防死锁)

License: MIT License

C++ 67.88% C 32.12%

philosopher-dining's Introduction

哲学家就餐问题(预先分配解决死锁问题)

使用Visual Stdio 2012或以上版本运行

菜单项目:"预先分配演示",      IDM_WAITFORMULTIPLE
菜单项目:"快速死锁演示",      IDM_FASTDEADLOCK
菜单项目:"普通死锁演示",      IDM_SLOWDEADLOCK
菜单项目:"结束所有线程",      IDM_TERMINATETHREAD
菜单项目:"创建工作线程",      IDM_CREATETHREAD
菜单项目:"挂起所有线程",      IDM_SUSPENDTHREAD
菜单项目:"恢复所有进程",      IDM_RESUMETHREAD

"预先分配演示","快速死锁演示","普通死锁演示": 切换前最好结束线程

"快速死锁演示","普通死锁演示" :调用函数基本相同,休眠时间长短不同

philosopher-dining's People

Contributors

newgr8player avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.