smilodon
码龄20年
关注
提问 私信
  • 博客:11,939
    社区:46
    11,985
    总访问量
  • 4
    原创
  • 1,180,669
    排名
  • 3
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:辽宁省
  • 加入CSDN时间: 2004-09-15
博客简介:

smilodon的专栏

博客描述:
猫眼看世界
查看详细资料
个人成就
  • 获得5次点赞
  • 内容获得0次评论
  • 获得4次收藏
创作历程
  • 12篇
    2010年
TA的专栏
  • C/C++ Programming
    3篇
  • DB2
    1篇
  • Hadoop
    1篇
  • Java Programming
    2篇
  • Linux/Unix programming
    2篇
  • software engineer
    1篇
  • Terminology
    1篇
创作活动更多

超级创作者激励计划

万元现金补贴,高额收益分成,专属VIP内容创作者流量扶持,等你加入!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

ObjectInputStream 死锁问题


  1. ObjectInputStream与ObjectOutputStream的顺序问题
在网络通讯中,主机与客户端若使用ObjectInputStream与ObjectOutputStream建立对象通讯,必须注重声明此两个对象的顺序。
如:
主机端先建立ObjectInputStream后建立ObjectOutputStream,则对应地客户端要先建立ObjectOutputStream后建立ObjectInputStream,否则会
转载
发布博客 2010.10.09 ·
998 阅读 ·
4 点赞 ·
0 评论 ·
3 收藏

检查ObjectInputStream可读的方法

需求: 对一个ObjectInputStream只有可读内容的时候才调用readObject。通常做法:但直接使用available(), 返回值永远是0。不可行解决方案:保留InputStream对象, 检查该对象即可。InputStream rawins = socket.getInputStream();ObjectInputStream oins = new ObjectInputStream(rawins);if( rawins.available()>0 ) {    myobj = (MyOb
原创
发布博客 2010.10.08 ·
719 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

创建nickname 整理版

how to create nickname on db2 which connects to another db2 server.
原创
发布博客 2010.07.20 ·
1684 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

HDFS针对多硬盘节点的存储策略

http://hi.baidu.com/thinkdifferent/blog/item/95de0e2416c4da3fc89559b8.html 对于HDFS针对多硬盘节点的存储策略,一直没有找到比较确实的依据,只有Hadoop官网上说过一句nodes with multiple disks should be managed internally(大致如此,懒得再看了)。今天
转载
发布博客 2010.05.07 ·
744 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

标点

+  plus 加号;正号-  minus 减号;负号± plus or minus 正负号× is multiplied by 乘号÷ is divided by 除号= is equal to 等于号≠ is not equal to 不等于号≡ is equivalent to 全等于号≌ is equal to or approximately equal
转载
发布博客 2010.04.08 ·
314 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

64位汇编移植小结

http://zzhhui.blog.sohu.com/31474896.html  64位汇编移植小结这里的移植工作主要针对从32位x86cpu向intel及amd的64位cpu以及 xinxp64平台。编译环境为vs 2005.net,并且主要涉及汇编语言的移植。所用汇编语言编译器为yasm。因为对于C语言,在vs2005.net环境下可直接进行64位平台的编译,其
转载
发布博客 2010.04.08 ·
2302 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

restrict pointer

http://hi.baidu.com/ilotus_y/blog/item/bed71ed3c6d7f532960a16fc.html __restrict / restrict这是从IBM的一个网站上看来的:restrict只可以用在指针身上。如果一个指针被restrict修饰,那么就在它(这个指针)和它所指向的对象之间建立了一种特殊的联系──只能用这个指针或者这个指针的表
转载
发布博客 2010.03.17 ·
666 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

__buildin_expect 含义 抄

__builtin_expectPurpose  Indicates that an expression is likely to evaluate to a specified value. The compiler may use this knowledge to direct optimizations. Prototype  long __builtin_e
转载
发布博客 2010.03.17 ·
725 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

敏捷开发环境下的领导技能问题更受关注

http://java.csdn.net/index.php/2010/01/10/%E6%95%8F%E6%8D%B7%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E4%B8%8B%E7%9A%84%E9%A2%86%E5%AF%BC%E6%8A%80%E8%83%BD%E9%97%AE%E9%A2%98%E6%9B%B4%E5%8F%97%E5%85%B3%E6%B
原创
发布博客 2010.02.01 ·
1091 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

disk stripping and disk mirroring

[http://www.datarecoverysoftware1.com/data-recovery-faq/what-is-disk-stripping-and-disk-mirroring.html] What is disk stripping and disk mirroring?Disk striping is the technique of spre
转载
发布博客 2010.02.01 ·
814 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

throw null 的问题

On the Solaris build of the product it would core dump (crash) whenever there was an syntax error in the XML input files(It crashes on Solaris but not on Windows or Linux). #include  int main(
原创
发布博客 2010.01.28 ·
1404 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

GDB功能收集

【http://www.maycode.com/index.php/linux/54-linuxdevelop/1234-debug.html】 使用 call 命令调用外部函数GDB 提供的 call 命令允许调试者在当前函数调用栈的栈顶调用函数,犹如在被调试的程序中执行的一般。比如想关闭某个文件(文件描述符为 fd ),那只需要在 gdb 中输入:(gdb) call
转载
发布博客 2010.01.26 ·
478 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏