Whamcloud - gitweb
tcpnal:
authorericm <ericm>
Thu, 4 Dec 2003 05:55:53 +0000 (05:55 +0000)
committerericm <ericm>
Thu, 4 Dec 2003 05:55:53 +0000 (05:55 +0000)
commit2060acacde0938575aa46a5d00b586817f253e94
tree9a1813fed9928edab2ecce64b13f89d26c304dda
parentaebe22516c7fd7fd7d7770f632ca6755b966ea6c
tcpnal:
  nal thread will call select() to block itself waiting incoming packets,
  but in 2 cases (1. new connection created 2. shutdown tcpnal) upper
  thread need wake up nal thread from sleep immediately.
  here we use a local socket which will be under select's monitoring to
  notify nal thread wakeup. again brings in unclean code into tcpnal.
18 files changed:
lnet/ulnds/bridge.h
lnet/ulnds/connection.c
lnet/ulnds/connection.h
lnet/ulnds/procapi.c
lnet/ulnds/procbridge.h
lnet/ulnds/socklnd/bridge.h
lnet/ulnds/socklnd/connection.c
lnet/ulnds/socklnd/connection.h
lnet/ulnds/socklnd/procapi.c
lnet/ulnds/socklnd/procbridge.h
lnet/ulnds/socklnd/tcplnd.c
lnet/ulnds/tcplnd.c
lustre/portals/unals/bridge.h
lustre/portals/unals/connection.c
lustre/portals/unals/connection.h
lustre/portals/unals/procapi.c
lustre/portals/unals/procbridge.h
lustre/portals/unals/tcpnal.c