office-gobmx/include/osl
Stephan Bergmann 0a126b4c66 Deprecate osl_demultiplexSocketEvents et al
The oslSocketSet/osl_*SocketSet/osl_demultiplexSocketEvents functionality is
based on the POSIX fd_set/FD_*/select functionality, which suffers from the
issue that it has undefined behavior for file descriptors with numerical values
greater than or equal to FD_SETSIZE.  (And this can be a real issue e.g. on
Linux, where tools::extendApplicationEnvironment in
tools/source/misc/extendapplicationenvironment.cxx bumps the soft RLIMIT_NOFILE
to the hard limit---so that file descriptors can likely have large values---,
but where the GNU C library sets FD_SETSIZE to only 1024 and ignores larger
descriptors.)

This functionality is unused at least by LO itself, and also likely unused by
third-party code.  So instead of fixing the Unix-based implementation in
sal/osl/unx/socket.cxx (by e.g. switching it from select to poll), just mark the
functionality as deprecated (with the option of eventually removing the
functionality completely from sal/osl/{unx,w32}/socket.cxx, leaving just stubs
in sal/osl/all/compat.cxx).

Change-Id: I2b97f8a37b45f298da9328660006f3c14361c9a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116089
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-05-25 12:54:04 +02:00
..
detail
test
conditn.h
conditn.hxx
diagnose.h
diagnose.hxx
doublecheckedlocking.h
endian.h WASM: add initial support for Emscripten cross build 2021-05-05 21:14:54 +02:00
file.h
file.hxx
getglobalmutex.hxx
interlck.h
module.h
module.hxx
mutex.h
mutex.hxx
nlsupport.h
pipe.h
pipe.hxx
pipe_decl.hxx
process.h
profile.h
profile.hxx
security.h
security.hxx
security_decl.hxx
signal.h
socket.h Deprecate osl_demultiplexSocketEvents et al 2021-05-25 12:54:04 +02:00
socket.hxx
socket_decl.hxx
thread.h
thread.hxx throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite 2021-05-02 17:02:28 +02:00
time.h