This is more strict than it needs to be, but it avoids any bugs like the one fixed by the previous patch. Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com> Message-Id: <20200422182304.120906-2-espindola@scylladb.com>
This templates the code for listener_vector, renames it to atomic_vector and moves it to the utils directory. Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com>