mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 22:14:29 +08:00
2005-05-20 Sergei Organov <osv@javad.ru>
PR networking/772. * libnetworking/rtems/rtems_select.c (socket_select): fixed bug setting SB_WAIT flag of so_rcv instead of so_snd when FWRITE.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2005-05-20 Sergei Organov <osv@javad.ru>
|
||||
|
||||
PR networking/772.
|
||||
* libnetworking/rtems/rtems_select.c (socket_select): fixed bug
|
||||
setting SB_WAIT flag of so_rcv instead of so_snd when FWRITE.
|
||||
|
||||
2005-05-20 Sergei Organov <osv@topconrd.ru>
|
||||
|
||||
PR 749/networking
|
||||
|
||||
@@ -67,7 +67,7 @@ socket_select (struct socket *so, int which, rtems_id tid)
|
||||
case FWRITE:
|
||||
if (sowriteable(so))
|
||||
return (1);
|
||||
so->so_rcv.sb_flags |= SB_WAIT;
|
||||
so->so_snd.sb_flags |= SB_WAIT;
|
||||
so->so_snd.sb_sel.si_pid = tid;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user