文章分类 -  other

python 报错 cannot restore segment prot after reloc: Permission denied
摘要:cannot restore segment prot after reloc: Permission denied 在power5 Linux上安装oracle10g后,通过命令行方式登录sqlplus时,报错: error while loading shared libraries: $ORA 阅读全文

posted @ 2016-04-25 22:35 雨石花岸 阅读(250) 评论(0) 推荐(0)

进程与线程的一个简单解释
摘要:http://www.ruanyifeng.com/blog/2013/04/processes_and_threads.html进程(process)和线程(thread)是操作系统的基本概念,但是它们比较抽象,不容易掌握。最近,我读到一篇材料,发现有一个很好的类比,可以把它们解释地清晰易懂。1.... 阅读全文

posted @ 2016-01-24 23:37 雨石花岸 阅读(106) 评论(0) 推荐(0)

python多线程运行,日志乱码,艰难复现ing
摘要:原因:多线程的操作cpu随机的去切换线程上下文,有可能打印的日志是穿插的,不是串行的日志打印都会出现日志交替打印import osprint os.system('xcopy c:\test\test1 c:\test\test2')print os.system('ping 127.0.0.1 -... 阅读全文

posted @ 2016-01-20 23:31 雨石花岸 阅读(629) 评论(0) 推荐(0)

导航