在父页面弹出窗口中,添加回调函数,当close时调用,直接上代码: art.dialog.open(url,?{
????????lock?:?true,
????????title?:?text,
????????width?:?‘800px‘,
???????...
分类:
其他好文 时间:
2014-10-16 21:45:03
阅读次数:
191
锁的持有者,谁是锁 ??? public class Lock (?????? ?????? public synchronized? void fun1(){ ????????????? //业务运算.??????? ?????? }; ?????? public s...
分类:
编程语言 时间:
2014-10-16 14:48:52
阅读次数:
220
eclipse 使用一段时间后,有时会因为一些故障自己就莫名奇妙的关闭了,再打开时有时没有问题,有时有会提示错误 Workspace Unavailable:
Workspace in use or cannot be created, choose a different one.
原因:出现这种情况一般是workspace的配置文件中出现了.lock文件(workspace...
分类:
其他好文 时间:
2014-10-16 11:33:52
阅读次数:
137
参考http://blog.csdn.net/zbszhangbosen/article/details/7434637#reply
这里补充一些:
(1)InnoDB默认加锁方式是next-key locking
(2)在聚集索引中,如果主键有唯一性约束(unique,auto increment),next-key locking 会自动降级为record locking。
(3)由于...
分类:
数据库 时间:
2014-10-16 11:04:42
阅读次数:
305
高并发的情况下,锁是一个灾难;那么架构是如何做到无锁编程的?...
分类:
其他好文 时间:
2014-10-16 02:38:16
阅读次数:
151
1.github首先需要一个SSH key进行加密。用来保证权限的。 生成SSH key的步骤:Step 1: Check for SSH keysFirst, we need to check for existing SSH keys on your computer. Open upyour ...
分类:
其他好文 时间:
2014-10-15 14:11:00
阅读次数:
178
mongodb 没法启动 exception in initAndListen: 12596 old lock file, terminatingwww.MyException.Cn,网友分享于:2013-01-24浏览:124次2mongodb 无法启动 exception in initAndL...
分类:
数据库 时间:
2014-10-15 12:39:56
阅读次数:
183
--prefix=/usr--sbin-path=/usr/sbin/nginx--conf-path=/etc/nginx/nginx.conf--error-log-path=/var/log/nginx/error.log--http-log-path=/var/log/nginx/access.log--pid-path=/var/run/nginx/nginx.pid--lock-path=/var/lock/nginx.lock--user=nginx--group=nginx--with-htt..
分类:
其他好文 时间:
2014-10-15 05:48:00
阅读次数:
188
Oftentimes you’ll find yourself using classes you can’t modify. Whether they’re basic data types or part of an existing framework, you’re stuck with t...
分类:
其他好文 时间:
2014-10-15 01:10:59
阅读次数:
285
java.util.concurrent.locks.Lockvoid lock() :获取这个锁,如果这个锁被其他线程所有,则阻塞void unlock():释放这个锁java.util.concurrent.locks.ReentrantLockReentrantLock():构建一个可重入锁R...
分类:
编程语言 时间:
2014-10-14 14:50:48
阅读次数:
238