Closing a socket.

Chris Johns chrisj at rtems.org
Wed May 11 21:51:00 UTC 2005


Joel Sherrill <joel at OARcorp.com> wrote:
> 
> read( on socket ) ends up blocked inside termios.  This looks like
> it ends on blocking on an rtems_semaphore_obtain, so I would expect
> that the underlying semaphore would get deleted and you would wake up.
> 

A socket read does not end up in termios, it ends up in a call in 
libnetworking/rtems_glue.c.

The issue is the structs accessed after the blocked thread wakes up.

-- 
  Chris Johns



More information about the users mailing list