philosophers:42首尔穿线项目

时间:2021-03-18 11:59:54
【文件属性】:
文件名称:philosophers:42首尔穿线项目
文件大小:20KB
文件格式:ZIP
更新时间:2021-03-18 11:59:54
C 哲学家(42学校) 学科 在这个项目中,您将学习线程化线程的基础知识以及如何在相同的内存空间上工作。您将学习如何制作线程。您会发现互斥体,信号量和共享内存。 이젝트에서프세공간을를공간을공간을공간을공간을공간을됩니됩니됩니。互斥锁,信号量互斥量。 编译 git clone https://github.com/DomMorello/philosophers.git cd philosohper cd philo_one //或philo_tow或philo_three make ./philo_one 4 410 200 200 6 //或./philo_tow或./philo_three 要求 有3种不同的程序,但它们具有相同的基本规则: 按照规范(42学校代码约定),该项目使用C进行编码。任何泄漏,崩溃,未定义行为或规范错误均表示项目为0。 许多哲学家坐在圆桌旁,做着以下三件
【文件预览】:
philosophers-master
----philo_two()
--------philo_two.h(2KB)
--------main.c(2KB)
--------util.c(2KB)
--------routine.c(2KB)
--------init.c(2KB)
--------Makefile(361B)
----philo_one()
--------main.c(2KB)
--------philo_one.h(2KB)
--------init_clean.c(2KB)
--------util.c(2KB)
--------routine.c(2KB)
--------Makefile(367B)
----philo_three()
--------main.c(2KB)
--------init_clean.c(2KB)
--------philo_three.h(2KB)
--------util.c(2KB)
--------routine.c(3KB)
--------Makefile(369B)
----README.md(10KB)
----functions.md(4KB)

网友评论