登录
首页 » Linux编程 » NACHOS LAB3.2

NACHOS LAB3.2

于 2022-10-13 发布 文件大小:591.85 kB
0 201
下载积分: 2 下载次数: 1

代码说明:

  了解线程切换出错的机理,利用信号量,锁机制来保护线程。分为3部分:(1)基于双向链表插入、删除的锁机制演示(2)基于table类表申请、释放的锁机制演示(3)基于BoundedBuffer类读写问题的锁机制演示。先补充synch里的函数,有两种方式1.利用信号量,2.自己写函数……

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • mp4封装库
    The MP4v2 library provides an API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is derived from Apple"s QuickTime file format that has been used as a multimedia file format in a variety of platforms and applications. It is a very powerful and extensible format that can accommodate practically any type of media.
    2023-05-06 23:35:02下载
    积分:1
  • ftp库函数
    ftp库函数. arm-hismall-linux-gcc -Wall  -I.  -DFTPLIB_DEFMODE=FTPLIB_PORT   -c -o qftp.o qftp.c arm-hismall-linux-gcc -c -Wall  -I.  -DFTPLIB_DEFMODE=FTPLIB_PORT -fPIC -D_REENTRANT ftplib.c -o ftplib.o arm-hismall-linux-gcc -shared -Wl,-soname,libftp.so.3 -lc -o libftp.so.3.1 ftplib.o ln -sf libftp.so.3.1 libftp.so.3 ln -sf libftp.so.3.1 libftp.so arm-hismall-linux-gcc -L. -o qftp qftp.o -lftp mkdir unshared arm-hismall-linux-gcc -c -Wall  -I.  -DFTPLIB_DEFMODE=FTPLIB_PORT -D_REENTRANT ftplib.c -o unshared/ftplib.o ar -rcs libftp.a unshared/ftplib.o CFLAGS = -Wall $(DEBUG) -I. $(INCLUDES) $(DEFINES) DEFINES = -DFTPLIB_DEFMODE=FTPLIB_PORT 做静态链接库,必须要有main函数  否则无法生成静态链接库  , 但是动态链接库不受此限制
    2022-05-09 10:47:09下载
    积分:1
  • linux 下telnet完整实现
    这是linux下telnet的完整实现。里面涉及到缓冲区设计,守护进程和socket编程等。 喜欢linux的朋友研究这个程序将会有很大帮助。
    2023-07-25 15:05:04下载
    积分:1
  • Linux下的聊天室
    应用背景 This is the server and client code in C for a simple chat program for multiple client communication. This repository contains code for a very simple chat program implemented on the linux system, using base system libraries and the C programming language. The program consists of two major components, the first being the server program and the second is the Client program. 关键技术 The server program maintains a list of clients and also a queue of client messages. It uses semaphores to make sure synchronisation errors do not occur. The server program accepts one optional input argument – listen_port_number. If this argument is missed, the server will use the default port number 3500 (defined in the provided header file chat_server.h). Once it starts, it runs forever. To ter
    2023-07-14 01:50:03下载
    积分:1
  • IP加速器
    基于LINUX系统编写的一款TCP/IP传输加速软件。常用于卫星通信方面,TCP/IP加速源码。linux!-Commonly used in satellite communications, TCP/IP speed up the source, based on linux!
    2022-06-19 09:12:43下载
    积分:1
  • 我想queso
    sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdfasdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdfsdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf sdf asdf
    2022-04-20 09:29:38下载
    积分:1
  • linx通信协议代码
    自述文件 Enea LINX 用于 Linux 当前的领新版本,请参阅 RELEASE_NOTES ! 1.导言 2.说明和主要特点 3.许可证 4.文件 5.联系人 6.版本说明 7.示例: 开始使用 LINX 8.商标 1.导言 Enea LINX 是一种开放的分布式的系统进程间技术 交流这是平台和互连独立、 鳞片 好到大型系统与任何拓扑中,但它仍然有 所需的高交通轴承组件的性能 系统。它基于一个众所周知的透明消息传递方法 那已用于 OSE 家庭的实时操作系统的许多年 系统。 2.说明和主要特点 领新内核模块实现了领新协议有两个 图层-RLNH 和连接管理器议定书 》。的 RLNH 协议对应 OSI 模型中的会话层和 实现了 IPC 功能包括方法来查找由终结点 名称,并监督他们得到异步通知,如果他们 消失。连接管理器层对应于运输 在 OSI 模型和实现可靠的顺序传输层 任意大小的消息,在任何媒体。LINX 是从访问 用户通过一个新的地址家庭土地 AF_LINX 和标准 BSD 套接字。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-02-16 08:24:42下载
    积分:1
  • uuid源码库
    Linux 下 libuuid库移植和使用,可以直接在Linux下运行make,已经在目前的项目中使用。
    2022-05-18 20:37:39下载
    积分:1
  • RTAI硬实时补丁
    linux的一个硬实时补丁,来自https://www.rtai.org/RTAI/,3.9版本不代表为linux内核为3.9版本,为开发版本,经测试,能够使用。
    2022-09-14 15:05:04下载
    积分:1
  • mini2440的LCD视频显示代码
    基于mini2440的LCD视频显示代码,TD35液晶屏,256M内存,可以将USB摄像头拍摄到的视频动态显示在LCD上
    2022-02-26 23:12:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载