xtlx2000 发表于 2012-08-31 20:03

文件描述符挂起是什么意思?

RT,看man的时候说file descriptor hang up ,请教?

xiyoulaoyuanjia 发表于 2012-08-31 23:16

好像还真没见这种说法~~:em03:

xiyoulaoyuanjia 发表于 2012-08-31 23:19

是不是 想 read 读 时 描述符等待 就叫 hang up 也就是阻塞中~~:em03:

xtlx2000 发表于 2012-09-01 12:33

回复 3# xiyoulaoyuanjia


    可以看下man epoll_ctl中对EPOLLHUP的解释。。

xiyoulaoyuanjia 发表于 2012-09-01 23:16

Hang up happened on the associated file descriptor.epoll_wait(2) will always wait for this event;itisnot
            necessary to set it in events.然后呢?:em03:

回复 4# xtlx2000


   

xtlx2000 发表于 2012-09-02 11:38

回复 5# xiyoulaoyuanjia


    额,就是不知道什么意思啊,呵呵{:3_185:}

xiyoulaoyuanjia 发表于 2012-09-02 11:51

奥,了解~~ 不过我一般就按阻塞理解呢~~:em03:
回复 6# xtlx2000


   

_Rayx 发表于 2012-09-02 15:38

以前只听说过进程什么的被挂起。
页: [1]
查看完整版本: 文件描述符挂起是什么意思?