Currently `Ping` is implemented using a `pipe`, which is a generic unix way of implementing it. However some platforms provide other primitives that could be used more efficiently for this, such as `eventfd` on Linux.