虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

COUNT

  • 操作系统课程设计_进程调度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct

    操作系统课程设计_进程调度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct node { char name[10] /*进程标识符*/ int prio /*进程优先数*/ int round /*进程时间轮转时间片*/ int cputime /*进程占用CPU时间*/ int needtime /*进程到完成还要的时间*/ int COUNT /*计数器*/ char state /*进程的状态*/ struct node *next /*链指针*/ }PCB

    标签: include typedef stdlib string

    上传时间: 2016-08-09

    上传用户:凤临西北

  • 用多线程同步方法解决读者阅览问题 1) 每个读者进入阅览室后

    用多线程同步方法解决读者阅览问题 1) 每个读者进入阅览室后,即时显示“Entered” 及其线程自定义标识,还同时显示阅览室共有几名顾客及其所坐的位置。 2) 至少有10个读者,每人阅览至少3秒钟。 3) 多个读者须共享操作函数代码。 2总的设计思想及系统平台、语言、工具: 设计思想:程序设定的是10个读者和5个座位,对读者进行编号,依次进入阅览室读书,为每一座位列一表目,包括座号和读者号等,读者离开时要登出,即消掉登记的信息。 系统平台:LINUX 语言:C语言 工具:vi编辑器、gcc编译器 操作系统:linux操作系统 调试工具:edit、masm、link、debug. 3数据结构与模块说明(功能与流程图) 数据结构 int COUNT=0 //记录阅览室读者数量 sem_t full //定义阅览室座位信号量 int seat[5] //用数组表示座位 pthread_t reader[10] //定义读者线程 pthread_mutex_t mutex //定义互斥量 3.2功能说明 可以标识读者,随机为读者设置在阅览室的读书时间  可以显示阅览室读者的人数  可以显示读者所坐的位置,座位状态以及列出空座位

    标签: 多线程同步

    上传时间: 2016-08-10

    上传用户:zsjzc

  • The P89LPC938 is a single-chip microcontroller, available in low cost packages, based on a high per

    The P89LPC938 is a single-chip microcontroller, available in low cost packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system-level functions have been incorporated into the P89LPC938 in order to reduce component COUNT, board space, and system cost.

    标签: microcontroller single-chip available packages

    上传时间: 2013-12-04

    上传用户:远远ssad

  • // -*- Mode: Verilog -*- // Filename : wb_master.v // Description : Wishbone Master Behavorial //

    // -*- Mode: Verilog -*- // Filename : wb_master.v // Description : Wishbone Master Behavorial // Author : Winefred Washington // Created On : 2002 12 24 // Last Modified By: . // Last Modified On: . // Update COUNT : 0 // Status : Unknown, Use with caution! // Description Specification // General Description: 8, 16, 32-bit WISHBONE Master // Supported cycles: MASTER, READ/WRITE // MASTER, BLOCK READ/WRITE // MASTER, RMW // Data port, size: 8, 16, 32-bit // Data port, granularity 8-bit // Data port, Max. operand size 32-bit // Data transfer ordering: little endian // Data transfer sequencing: undefined

    标签: Description Behavorial wb_master Filename

    上传时间: 2014-07-11

    上传用户:zhanditian

  • at91ARM9200串口例程

    at91ARM9200串口例程,希望对大家有所帮助。 使用方式: TestCom /dev/ttyS* -w COUNT data TestCom /dev/ttyS* -r

    标签: 9200 ARM at 91

    上传时间: 2016-11-21

    上传用户:13160677563

  • The FM24C256/C256L/C256LZ devices are 256 Kbits CMOS nonvolatile electrically erasable memory. Thes

    The FM24C256/C256L/C256LZ devices are 256 Kbits CMOS nonvolatile electrically erasable memory. These devices offer the designer different low voltage and low power options. They conform to all requirements in the Extended IIC 2-wire protocol. Furthermore, they are designed to minimize device pin COUNT and simplify PC board layout requirements.

    标签: 256 electrically nonvolatile erasable

    上传时间: 2016-12-11

    上传用户:lps11188

  • 用个开关作为表决器的7个输入变量

    用个开关作为表决器的7个输入变量,输入变量为‘1’时表示“赞同”;输入变量为‘0’时表示不赞同。输出接到一二极管上,灯亮表示通过,灯不亮表示不同。采用行为描述的设计,用一变量COUNT表示选举通过的总人数,即7个开关中按下的总数,如果COUNT>3,则表示通过。

    标签: 开关 变量 表决器 输入

    上传时间: 2013-12-09

    上传用户:lvzhr

  • 实现对四个人进行抢答

    实现对四个人进行抢答,有抢答鉴别模块,转换模块,3选1模块,倒计时模块COUNT,该模块实现答题时间的倒计时,在计满100s后送出声音提示。

    标签: 抢答

    上传时间: 2013-12-29

    上传用户:change0329

  • SQL 合计函数 使用 SQL 合计函数 你可以确定数据组的各种统计。你可以把这些函数用于查询和合计表达式

    SQL 合计函数 使用 SQL 合计函数 你可以确定数据组的各种统计。你可以把这些函数用于查询和合计表达式,条件是在具备 SQL特性的 QueryDef对象中或在创建基于SQL查询的 Recordset对象时。 Avg 函数 COUNT 函数 First, Last 函数 Min, Max 函数 StDev, StDevP 函数 Sum 函数 Var 和 VarP 函数

    标签: SQL 函数 数据 查询

    上传时间: 2017-01-27

    上传用户:1583060504

  • 这是大学操作系统进程调度实验的其中一个算法。实验中应该要注意的是关于C中指针的用法

    这是大学操作系统进程调度实验的其中一个算法。实验中应该要注意的是关于C中指针的用法,因为指针的用法比较灵活又非常容易出错,一不小心应用不严密就会出错。如在实行按短作业优先算法调度进程的过程中,每一次输入无论是周转时间,运行时间,还是响应时间都要用指针返回arrivetime,否则就出错。还有在插入和释放结点时,用此中指针表示法会比用for循环语句简明很多。再一个就是在选择运行时间最小的进程时,察看当前就绪队列中的进程数也是很关键的,其间所得的COUNT对于下面两步都很重要。

    标签: 实验 大学 操作系统 指针

    上传时间: 2017-01-30

    上传用户:fhzm5658