in reply to (MeowChow) Re3: 65 is the magic number!
in thread 65 is the magic number!

Hmm, I don't think I'm following you.

Lemme see:

I'm forking, then opening a handle inside the 'child'. After I'm done processing, I'm closing the child only handle. Then I'm exiting the child (or join in ithreads I guess).

That being the case, the handle shouldn't exist in the original thread. I think.

And sadly, I can't close the original thread, as it's the server itself. I can get the FD number with fileno(), so I might try an explicit close.

D

  • Comment on Re: (MeowChow) Re3: 65 is the magic number!