rem: NsPoll(&pfd, 1, timeoutPtr);
add: if (NsPoll(&pfd, 1, timeoutPtr) != 1) { break; }
context: Ns_TaskRun(Ns_Task *task){    Task *taskPtr = (Task *) task;    struct pollfd pfd;    Ns_Time now, *timeoutPtr;    pfd.fd = taskPtr->sock;    Call(taskPtr, NS_SOCK_INIT);    while (!(taskPtr->flags & TASK_DONE)) {	if (taskPtr->flags & TASK_TIMEOUT) {	    timeoutPtr = &taskPtr->timeout;	} else {	    timeoutPtr = NULL;	}	pfd.revents = 0;	pfd.events = taskPtr->events;	NsPoll(&pfd, 1, timeoutPtr);	Ns_GetTime(&now);	RunTask(taskPtr, pfd.revents, &now);    }    taskPtr->signal |= TASK_DONE;}