• tzik's avatar
    Make symbolize.cc thread safe even on shared fds · 1081df6e
    tzik authored
    ReadFromOffset in symbolize.cc used to call lseek() + read() to read
    data from fd. However, the fd may be reused for multiple symbolize
    requests from multiple threads, and causes a race around the fd read
    offset.
    
    This updates it to use pread() to resolve the race.
    1081df6e
Name
Last commit
Last update
.bazelci Loading commit data...
bazel Loading commit data...
cmake Loading commit data...
doc Loading commit data...
m4 Loading commit data...
packages Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
BUILD Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
README.windows Loading commit data...
WORKSPACE Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
glog-config.cmake.in Loading commit data...
libglog.pc.in Loading commit data...
ltmain.sh Loading commit data...