29/// The socket write() methods, under heavy load, may not make a complete write of the buffer, and need to be repeatedly called. This means they may not be atomic, so this is a lock to make it atomic under such heavy loads.
31// TODO using lock_type=libjmmcg::ppd::api_lock_traits<libjmmcg::ppd::platform_api, libjmmcg::ppd::heavyweight_threading>::anon_spin_event_type::lock_type;
32// TODO using lock_type=libjmmcg::ppd::api_lock_traits<libjmmcg::ppd::generic_traits::api_type::no_api, libjmmcg::ppd::sequential_mode>::critical_section_type::lock_type;