锁是操作系统中实现进程同步的重要机制。 基本概念 临界区(Critical Section)是指对共享数据进行访问与操作的代码区域。所谓共享数据,就是可能有多个代码执行流并发地执行,并在执行中可能会同时访问的数据。 同步(Synchronization)是指让两个或多个进程/线程能够按照程序员期望的 ...
分类:
其他好文 时间:
2019-04-09 18:46:13
阅读次数:
645
https://www.exploit-db.com/exploits/46518 ...
分类:
数据库 时间:
2019-03-14 21:21:26
阅读次数:
295
一、Java基础部分 1. HashMap和Hashtable各有什么特点,它们有什么区别?(必背题,超级重要) HashMap和Hashtable都实现了Map接口,但决定用哪一个之前先要弄清楚它们之间的分别。主要的区别有:线程安全性,同步(synchronization),以及速度。 HashM ...
分类:
编程语言 时间:
2019-03-12 14:03:46
阅读次数:
238
一、下载地址 https://www.charlesproxy.com/download/ 激活码 Registered Name: https://zhile.io License Key: 48891cf209c6d32bf4 二、配置 证书安装 Help ssl proxying 依次 1、C ...
分类:
系统相关 时间:
2019-03-07 16:25:01
阅读次数:
309
修改主机名后,has无法启动,将has启动之后,尝试ASMCA,出现如图提示: 再尝试登陆asm实例,出现日下提示: [oracle@edgzrip2-+ASM ~]$ sqlplus / as sysasm SQL*Plus: Release 11.2.0.3.0 Production on Su ...
分类:
其他好文 时间:
2019-03-03 09:20:05
阅读次数:
239
1047 Student List for Course (25 分) Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each s ...
分类:
其他好文 时间:
2019-01-27 21:48:02
阅读次数:
111
报红提示:URI is not registered ( Setting | Project Settings | Schemas and DTDs ) 解决方法:打开Schemas and DTDs 添加URL即可 ...
分类:
其他好文 时间:
2019-01-20 22:01:28
阅读次数:
169
启动Docker出现如下错误: PolicyKit daemon disconnected from the bus.We are no longer a registered authentication agent. ...
分类:
其他好文 时间:
2019-01-06 14:26:36
阅读次数:
192
我虚拟机安装的系统是RedHat Enterprise Linux 6.4-i686,是32位的。使用yum命令安装软件时候出现以下错误: This system is not registered to Red Hat Subscription Management.You can use sub ...
分类:
系统相关 时间:
2019-01-04 16:09:59
阅读次数:
268
XMLHttpRequest对象可以在不向服务器提交整个页面的情况下,实现局部更新网页。当页面全部加载完毕后,客户端通过该对象向服务器请求数据,服务器端接受数据并处理后,向客户端反馈数据。 XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求 ...
分类:
Web程序 时间:
2018-12-28 17:13:47
阅读次数:
229