Linux中thread (light-weighted process) 跟process在實作上幾乎一樣。最大的差異來自於,thread 會分享 virtual memory address space.a. 從kernel角度看兩者沒差別,在user看來process是least shared...
分类:
系统相关 时间:
2014-07-11 20:41:54
阅读次数:
308
在AWR中定位到问题SQL语句后想要了解该SQL statement的详细运行计划,于是就用AWR报告中得到的SQL ID去V$SQL等几个动态性能视图中查询,但发现V$SQL或V$SQL_PLAN视图都已经找不到相应SQL ID的记录,一般来说这些语句已经从shared pool共享池中被替换出去...
分类:
数据库 时间:
2014-07-11 11:58:50
阅读次数:
307
When I try openingEclipse, a pop-up dialog states:Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"`.Following this, Eclipse force clo...
分类:
系统相关 时间:
2014-07-11 11:45:13
阅读次数:
238
DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence....
分类:
其他好文 时间:
2014-07-11 11:28:14
阅读次数:
269
The syntax for accessing the elements of a list is the same as for accessing the characters of a string – the bracket operator ([ ]). The expression i...
分类:
其他好文 时间:
2014-07-11 08:55:10
阅读次数:
174
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.
For example,
Given [100, 4, 200, 1, 3, 2],
The longest consecutive elements sequence is [1, 2, 3...
分类:
其他好文 时间:
2014-07-11 00:51:05
阅读次数:
195
/**
* 功能:使用标准库:文本查询程序
* 时间:2014年7月10日09:10:15
* 作者:cutter_point
*/
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
using line_no=vector::size_type;
/**...
分类:
编程语言 时间:
2014-07-11 00:16:17
阅读次数:
305
1、安装smbfs# sudo apt-get install smbfs2、建立挂载目录# sudo mkdir -p /mnt/shared注:mkdir -p 是创建多级目录3、挂载windows共享# sudo mount -t cifs -o username=administrator,...
小谷童鞋休息了好几天,终于又开始学习了.今天学的是Jquery,先来看看神马是jQuery?
JQuery is designed to change the way that you write JavaScript.
The focus of jQuery is "find some elements, do something with them".
write less,do m...
分类:
Web程序 时间:
2014-07-09 12:48:41
阅读次数:
221
动态内存与智能指针(3)
/**
* 功能:动态内存与智能指针
* 时间:2014年7月8日15:33:58
* 作者:cutter_point
*/
#include
#include
#include
#include
using namespace std;
/**
智能指针和异常
*/
void f()
{
shared_ptr sp(new int(42)); ...
分类:
编程语言 时间:
2014-07-09 09:08:04
阅读次数:
161