Re: process descriptor table



what is a process descriptor table?
process FILE descriptor table?
process table?

process file descriptor table I suppose.
The problem is that at some point a socket() function is called. And
it returns descriptor = 1, which is a standart ouput.
So when write() is done, everything goes to terminal,instead of socket.
I want to see descriptor table, to see why this can happen.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: non blocking sockets
    ... >> determined that the socket was ready. ... > Upon successful completion, the pselector selectfunction shall ... > arguments to indicate which file descriptors are ready for reading, ... > descriptor shall be considered ready for reading.) ...
    (comp.unix.programmer)
  • RE: UDP recvmsg blocks after select(), 2.6 bug?
    ... > - select returns success with descriptor ready for reading ... against having a socket operation block is found in non-blocking sockets. ... then checks the UDP checksum. ...
    (Linux-Kernel)
  • Re: Fine grain select locking.
    ... Here is an update that avoids the malloc per fd when there are no collisions. ... This unfortunately adds 64bytes to every socket in the system. ... Per-thread wait channel rather than global select wait channel. ... The unfortunate cost of this patch is that a descriptor per select fd must be allocated to track individual threads. ...
    (freebsd-arch)
  • Re: Linux Threading
    ... > That would imply that the socket were already shared via the ... > its descriptor and then thread to get a second thread to use ... you could get by with no additional signalling. ... they were definitely not thread safe. ...
    (comp.os.linux.development.system)
  • Re: epoll and timeouts
    ... I'd recommend just using the descriptor. ... descriptors to internal socket structures is probably best. ... I don't think I understand why the map is better. ... hasn't exactly been known to keep the most thought-out interfaces. ...
    (comp.unix.programmer)