Pat1018代码
题目描述:
There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to an...
分类:
其他好文 时间:
2014-05-13 23:27:04
阅读次数:
582
0.等待队列
在Linux内核中等待队列有很多用途,可用于中断处理、进程同步及定时。我们在这里只说,进程经常必须等待某些事件的发生。等待队列实现了在事件上的条件等待: 希望等待特定事件的进程把自己放进合适的等待队列,并放弃控制全。因此,等待队列表示一组睡眠的进程,当某一条件为真时,由内核唤醒它们。
等待队列由循环链表实现,由等待队列头(wait_queue_head_t)和等待队列...
分类:
其他好文 时间:
2014-05-13 16:03:28
阅读次数:
370
queue分为两种: serialQueue (串行) 和 concurrentQueue (并行)
serialQueue中的task一个执行不完,另一个不会执行。即:task1执行完毕后,task2执行,task2执行完毕后,task3执行,以此类推
concurrentQueue特点:Queue中的task并发执行,task1现执行(无须执行完毕),task2开始执行之后(无需执...
分类:
其他好文 时间:
2014-05-13 13:22:25
阅读次数:
282
名词解析全局队列global主队列mian_queue串行队列create队列queue异步async同步sync异步和同步
与方法无关,与队列相关同步主要用来控制方法的调用顺序1.主队列2.全局队列3.串行队列主队列用于更新UI和界面相关的操作全局队列全局队列是异步执行的,没有先后顺序,可能会开启...
分类:
其他好文 时间:
2014-05-13 10:45:27
阅读次数:
270
Pat1016代码
题目描述:
A long-distance telephone company charges its customers by the following rules:
Making a long-distance call costs a certain amount per minute, depending on the time of day w...
分类:
其他好文 时间:
2014-05-13 06:45:05
阅读次数:
460
将Texure Type设置为Advanced时纹理的格式列表格式详解Automatic
Compressed压缩RGB纹理,默认选项,常用的漫反射纹理格式。4位/像素(32KB, 256x256)RGB Compressed
DXT1压缩的RGB纹理。常用的漫反射纹理格式。4位/像素(32KB, ...
分类:
其他好文 时间:
2014-05-12 12:24:58
阅读次数:
352
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2724
Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something h...
本节讲述PDSP监控的配置。
QMSS PDSP:The queue manager sub system contains two or eight packed data structure processors (PDSP) and associated hardware that allow autonomous QMSS-related tasks with interrupt not...
分类:
其他好文 时间:
2014-05-11 04:02:36
阅读次数:
507
## Introduction读这篇论文的机缘巧合很有趣,我在Unity3D的Asset
Store上看到一个叫做[Dyanmic
Bones](http://u3d.as/content/will-hong/dynamic-bone/7fH)的项目,使用物理动画真实地模拟了角色的躯干动作,20$还...
分类:
其他好文 时间:
2014-05-10 07:25:47
阅读次数:
299
GCD的基本思想是就将操作s放在队列s中去执行操作使用Blocks定义队列负责调度任务执行所在的线程以及具体的执行时间队列的特点是先进先出(FIFO)的,新添加至对列的操作都会排在队尾提示GCD的函数都是以dispatch(分派、调度)开头的队列dispatch_queue_t
串行队列,队列中的任...
分类:
其他好文 时间:
2014-05-10 07:18:06
阅读次数:
286