mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 19:00:38 +00:00
fix:add select is waking up log
Signed-off-by: law <liyuhang47@huawei.com>
This commit is contained in:
parent
aaa7062294
commit
e52eb2b24e
@ -1164,6 +1164,8 @@ static void *SelectTask(void *arg)
|
||||
}
|
||||
SoftBusSocketFdSet(selectState->ctrlRfd, &readSet);
|
||||
int32_t maxFd = maxFdOrStatus > selectState->ctrlRfd ? maxFdOrStatus : selectState->ctrlRfd;
|
||||
CONN_LOGI(CONN_COMMON, "select is waking up, maxFd=%{public}d, ctrlRfd=%{public}d",
|
||||
maxFd, selectState->ctrlRfd);
|
||||
int32_t nEvents = SoftBusSocketSelect(maxFd + 1, &readSet, &writeSet, &exceptSet, NULL);
|
||||
int32_t wakeupTraceId = ++wakeupTraceIdGenerator;
|
||||
if (nEvents == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user