libshm retry on EINTR (#15964)
authorSsnL <tongzhou.wang.1994@gmail.com>
Mon, 14 Jan 2019 12:24:50 +0000 (04:24 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 14 Jan 2019 12:30:40 +0000 (04:30 -0800)
commit7c08f1083e56ce7e9799a15b36947c46052f0058
tree44ce598674bcd3c46eb4c4c99f488f4fce134553
parentabdaa477e531bd4ef71da88fbbffa213887492de
libshm retry on EINTR (#15964)

Summary:
fixes https://github.com/pytorch/pytorch/issues/14314
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15964

Differential Revision: D13639034

Pulled By: soumith

fbshipit-source-id: 44592762aa46982e5d3616d55b5666a2c2ce9105
torch/lib/libshm/core.cpp
torch/lib/libshm/err.h
torch/lib/libshm/manager.cpp
torch/lib/libshm/socket.h