PR_ASSERT(NULL != bottomFD);
static void SetDescPollThread(PRPollDesc *pds, PRIntn npds, PRThread* thread){    PRInt32     ready = 0;    PRPollDesc *pd, *epd;    for (pd = pds, epd = pd + npds; pd < epd; pd++)    {           if (pd->fd)        {             PRFileDesc *bottomFD = PR_GetIdentitiesLayer(pd->fd, PR_NSPR_IO_LAYER);            PR_ASSERT(NULL != bottomFD);            if (bottomFD && (_PR_FILEDESC_OPEN == bottomFD->secret->state))            {                bottomFD->secret->md.poll.thread = thread;            }        }            }}