• skaller's avatar
    Set and arrange propagation of thread safe sockets flag. · 520ad3c2
    skaller authored
    We use a distinct context initialisation function to specify
    all sockets derived therefrom will be thread safe.
    
    However the inheritance is done exclusively in the C interface.
    This is not really correct, but it is chosen to minimise
    interference with the existing C++ code, including any
    construct or other calls within the C++ code base.
    Semantically the C++ code should be unchanged,
    physically some data structures and extra methods are
    provided by they're only used from the C binding.
    520ad3c2
socket_base.hpp 6.95 KB