搜索资源列表
Linux_driver_designe
- Linux系统中,设备驱动程序是操作系统内核的重要组成部分,在 与硬件设备之间 建立了标准的抽象接口。通过这个接口,用户可以像处理普通文件一样,对硬件设 备进行打开(open)、关闭(close)、读写(read/write)等操作。通过分析和设计设 备驱动程序,可以深入理解Linux系统和进行系统开发-Linux system, device drivers operating system kernel is an important component, the equipme
LinuxDOS
- 为Linux系统设计一个简单的二级文件系统。要求做到以下几点: 1.可以实现下列几条命令: login 用户登录 dir 列目录 create 创建文件 delete 删除文件 open 打开文件 close 关闭文件 read 读文件 write 写文件 2.列目录时要列出文件名,物理地址,保护码和文件长度。 3.源文件可以进行读写保护。 -Linux system design for a simple two file system. Re
readerwriter.cpp
- 读者—写者问题的读写操作限制(包括读者优先和写者优先): 1)写—写互斥,即不能有两个写者同时进行写操作。 2)读—写互斥,即不能同时有一个线程在读,而另一个线程在写。 3)读—读允许,即可以有一个或多个读者在读。 -readers-the problem was the restrictions on reading and writing operations (including readers wrote priority and priority) : 1) w
DISK.rar
- C语言模拟 Linux 文件系统为Linux系统设计一个简单的二级文件系统。要求做到以下几点: 1.可以实现下列几条命令: login 用户登录 dir 列目录 create 创建文件 delete 删除文件 open 打开文件 close 关闭文件 read 读文件 write 写文件,C language simulation Linux file system for Linux systems to design a simple file system 2. Asked to do
mycp
- 使用 creat,read,write等系统调用实现在linux下文件复制命令-The use of creat, read, write, such as system calls in the implementation of the file copy command linux
sdk_tinyos
- tinyos 串口数据读写并发送-tinyos ,read /write the serial data read and send
mutex-lock
- 多线程编程-互斥锁 由于线程的清量性,在搜索引擎构建中被广泛使用.线程的实现有多种方式,譬如互斥锁,条件变量,读写锁等.其中互斥锁最为简单,读写锁也与互斥锁类似.在LInux下简单实现一个链表,链表的插入和删除,以及整个链表的析构要考虑多线程的同步-Multi-threaded programming- Mutex clearance due to the amount of threads in the search engines are widely used to build. Th
11linux
- Linux系统中,设备驱动程序是操作系统内核的重要组成部分,在 与硬件设备之间建立了标准的抽象接口。通过这个接口,用户可以像处理普通文件一样,对硬件设备进行打开(open)、关闭(close)、读写(read/write)等操作。通过分析和设计设备驱动程序,可以深入理解Linux系统和进行系统开发。本文通过一个简单的例子来说明设备驱动程序的设计。 -Linux system, device drivers the operating system kernel are an importan
mac_drv-c
- 芯片为 arm s3c2410,嵌入式linux系统,内核版本为2.4.18.读写指定nandflash 地址 内容驱动程序。用于保存网络芯片的mac地址。内核在启动时调用该地址内容作为mac地址。 -read/write nandflash data driver.save mac address.
read_route
- 一个linux下用c 写得读取路由表的小程序。-C under linux with a read write small procedures routing table.
CIPReadProtocol
- 很珍贵的资料,本人花了近一年的时间才稿定了,这个主要说明cip控制协议在linux的编程说明及数据包装。先上转read数据包装方式,有空再上传write的。
bmplib-0.6.tar
- bmplib: Library to read and write BMP image files.
SMBus_GPIO
- 讀寫系統SMBus的GPIO Deceive(PCA9541)-SMBus read-write system of the GPIO Deceive (PCA9541)
write
- 该程序是在linux下执行,首先创建一个文件,然后对此文件进行读写操作。接着,写入“Hello,I m writing to this file!”,此时文件指针位于文件尾部。接着再使用lseek函数将文件指针移到文件开始处,并读出10个字节并将其打印出来。-The program is run under linux, first of all to create a document, and then read and write operations on this file. Then
Network-programing-chat-c++
- Communication Programs C++ Linux Tube read write Chat codes
reader_writer
- 读者-写者问题的读写操作限制(包括读者优先和写者优先) 写-写互斥:不能有两个写者同时进行写操作 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 读-读允许:可以有一个或多个读者在读。-Readers- read and write operations to write the problem of constraints (including the readers of priority and writing preferred) Write- write
read-write
- 实验程序模拟多个生产/消费者在有界缓冲上正确的操作。它利用N个字节的共享内存作为有界循环缓冲区,利用写一字符模拟放一个产品,利用读一字符模拟消费一个产品。当缓冲区空时消费者应阻塞睡眠,而当缓冲区满时生产者应当阻塞睡眠。一旦缓冲区中有空单元,生产者进程就向空单元中入写字符, 并报告写的内容和位置。一旦缓冲区中有未读过的字符,消费者进程就从该单元中 读出字符,并报告读取位置。生产者不能向同一单元中连续写两次以上相同的字 符,消费者也不能从同一单元中连续读两次以上相同的字符。 -cha
copy_file
- linux读写文件命令的应用 read函数 write函数 close函数的应用
chrdev_led_five_function
- 在友善开发板mini2440上,用字符设备方式实现的led驱动程序,及测试用的应用程序。led驱动程序实现了ioctl、read、write设备方法,都比较简单,可以供初学者参考,在应用程序中有五个命令方法, 0-关闭指定的led 1-打开指定的led 2-获得指定的led状态 3-获得所有的led状态 4-设置所有的led-Development board mini2440 in a friendly, and with the realization of the le
uart
- Linux上串口读写程序,首先打开串口,对其进行设置,然后产生一个子进程对子进行对串口进行读,父进程对串口进行写操作。(The demo is used for reading and writing the uart in Linux, there are two thread, the parent fork write the uart, the child thread read it.)