1.下载Universal USB Installer下载地址:2.下载ubuntu 14 desktop.iso运行Universal USB Installer,找到电脑上 ubuntu 14 desktop.iso,将镜像安装到U盘中。修改待安装的计算机上配置,boot启动方式usb一步一步运...
分类:
其他好文 时间:
2014-09-22 11:07:52
阅读次数:
326
一。ReentrantLockpublic boolean tryLock()Acquires the lock only if it is not held by another thread at the time of invocation.Acquires the lock if it is...
分类:
其他好文 时间:
2014-09-22 03:46:51
阅读次数:
246
void lock()Acquires the lock.If the lock is not available then the current thread becomes disabled for thread scheduling purposes and lies dormant unt...
分类:
其他好文 时间:
2014-09-22 01:23:41
阅读次数:
417
A multiprocessing system having a plurality of processing nodes interconnected by an interconnect network. To optimize performance during spin-lock op...
分类:
移动开发 时间:
2014-09-22 00:56:21
阅读次数:
394
原文:5. SQL Server数据库性能监控 - 当前请求对于在线运行的系统,当前数据库性能监控,通常监视以下几点:
(1) 是否有阻塞 (Blocking);
(2) 是否有等待 (Waiting),阻塞就是锁 (Lock) 等待;
(3) 是否运行时间过长(Long running);
(4)...
分类:
数据库 时间:
2014-09-21 22:16:21
阅读次数:
314
Condition的含义是条件变量,其实现依赖于系统,一般都要配合Mutex使用,使用步骤为:给mutex上锁(Lock),调用wait等待“条件”发生,如果没有发生则re-wait(),最后释放mutex(unlock),并继续执行。所有等待(wait)同一个“条件变量(condition)”的线...
分类:
移动开发 时间:
2014-09-21 18:37:51
阅读次数:
410
在NTFS下,文件的创建及修改时间可以精确到毫秒,以下是测试过程。DirectoryInfo diSource = new DirectoryInfo(@"C:\Users\不告诉你\Desktop\Old"); ...
分类:
其他好文 时间:
2014-09-21 08:26:00
阅读次数:
215
常识,之前有的没搞清楚,导致写代码时不少疑惑。
比较典型的同步例子,用了两个Condition,notEmpty和notFull,分别对应两个lock,takeLock和putLock。查看take的代码:
E x;
int c = -1;
final AtomicInteger count = this.count;
final AtomicInteger takeLock = thi...
分类:
数据库 时间:
2014-09-21 01:53:59
阅读次数:
533
在Windows平台上你需要下载并安装一个VNC客户端程序。常用的有TightVNC,你可以从tightvnc.com上下载。
根据你的Window系统版本选择对应的32位或者64位版本下载。如果你不知道你的Window系统版本,可以在控制面板中查看。下载安装文件并运行。
在安装过程中,你将有机会选择典型安装、自定义安装或者完全安装。你只需要VNC客户端,不需要服务端,所以选择自定义安...
一、安装VirtualBox的步骤比较简单
下载好VirtualBox后 按照提示 一步步的安装下去就可
需要注意的是 网络连接一般选择 桥接网卡 选择目前连接网络的网卡 就能正常上网了
二、 到资源站去下载一个ConterOS的ios 或者Ubuntu 目前我使用的是Ubuntu
目前使用的版本是 ubuntu-10.10-desktop-i386 这个到网上找很多 免费开源...
分类:
系统相关 时间:
2014-09-20 13:32:19
阅读次数:
485