mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-31 07:51:24 +08:00
Update rtems_bsd_force_select_timeout()
This commit is contained in:
parent
1ee85a59b7
commit
f2cb584a61
@ -1900,7 +1900,6 @@ selectinit(void *dummy __unused)
|
||||
|
||||
#include <rtems/score/objectimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
#include <rtems/score/threadqimpl.h>
|
||||
|
||||
#include <rtems/bsd/util.h>
|
||||
|
||||
@ -1912,9 +1911,7 @@ force_select_timeout(Thread_Control *thread)
|
||||
if (td != NULL) {
|
||||
struct seltd *stp = td->td_sel;
|
||||
|
||||
if (thread->Wait.queue == &stp->st_wait.cv_waiters) {
|
||||
_Thread_queue_Process_timeout(thread);
|
||||
}
|
||||
cv_broadcastpri(&stp->st_wait, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user