安装deborphan。sudoapt-getinstalldeborphan运行deborphan--show-section--show-priority--show-size或者简洁一 点:$deborphan-sPz,查看有没有多余的库。删除无用的库文件:sudoapt- getremove...
分类:
其他好文 时间:
2014-11-07 16:28:05
阅读次数:
251
一、什么是优先级翻转问题 所谓优先级翻转问题(Priority Inversion)即当一个高优先级任务通过信号量机制访问共享资源时,该信号量已被一低优先级任务占有,而这个低优先级任务在访问共享资源时可能又被其它一些中等优先级任务抢先,因此造成高优先级任务被许多具有较低优先级任务阻塞,实时性难以得....
分类:
编程语言 时间:
2014-11-07 13:05:28
阅读次数:
89
Text in a text box. Break the rules Follow the rules using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Syste...
分类:
编程语言 时间:
2014-11-07 07:33:52
阅读次数:
225
需要头文件#include queue q;q.push(12);while(!q.empty() ){cout q; //默认按照从大到小排序q.push(1);q.push(2);while(!q.empty() ){cout , greater > q; //按照从小到大的顺序q.push.....
分类:
其他好文 时间:
2014-11-07 00:55:54
阅读次数:
132
ios中多线程有三种,NSTread,NSOperation,GCD这篇就讲讲GCD的基本用法平时比较多使用和看到的是:dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ //...
分类:
移动开发 时间:
2014-11-06 19:08:28
阅读次数:
177
1.在cmd中执行:lint --show AllowBackup // 显示lint中关于AllowBackup这个话题(issue)的解释,执行结果如下:
AllowBackup
-----------
Summary: Ensure that allowBackup is explicitly set in the application's
manifest
Priority: 3...
分类:
移动开发 时间:
2014-11-06 17:41:46
阅读次数:
262
转载自http://www.cnblogs.com/ggjucheng/archive/2012/11/05/2755683.htmlload的语法LOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE 'file_name.txt' [REP...
分类:
数据库 时间:
2014-11-05 22:59:18
阅读次数:
342
int candy(vector &ratings) { vector priority(ratings); for(int i=0;ipriority[i-1]&&ratings[i]0;i--) { if(priority[i-1]>prio...
分类:
其他好文 时间:
2014-11-05 21:22:09
阅读次数:
230
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:
其他好文 时间:
2014-11-04 10:36:03
阅读次数:
152
使 Excel 规则更容易理解(Oracle Policy Modeling-Make your Excel rules easier to understand)
分类:
数据库 时间:
2014-11-03 22:29:04
阅读次数:
306