Path: blob/main/benchmarks/dkftpbench/files/patch-Platoon.h
18161 views
--- Platoon.h.orig 2002-02-13 05:06:01 UTC1+++ Platoon.h2@@ -1,13 +1,12 @@3#ifndef Platoon_H4#define Platoon_H5#include "robouser.h"6-#include <list.h>7+#include <list>8+#include <cstring>910/* FIXME: 'reasonable' upper bound on number of users CPU can handle */11#define Platoon_MAXUSERS (1 << 16)1213-enum robouser_t::state_t;14-15/**----------------------------------------------------------------------16Platoon of robousers.17----------------------------------------------------------------------*/18@@ -150,7 +149,7 @@ private:19robouser_t *m_users[Platoon_MAXUSERS];2021/** List of dead robousers waiting to be reaped */22- list<robouser_t *> m_deadlist;23+ std::list<robouser_t *> m_deadlist;2425/** Health: count of bytes fetched so far from all files */26size_t m_bytesFetched;272829