Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
bool m_safe;
};
-class TestAlarm
-{
-public:
- TestAlarm() {
- alarm(360);
- }
- ~TestAlarm() {
- alarm(0);
- }
-};
-
void set_completion_complete(rados_completion_t cb, void *arg)
{
AioTestData *test = (AioTestData*)arg;
#include "include/rados/librados.h"
#include <string>
+#include <unistd.h>
std::string get_temp_pool_name();
int destroy_one_pool(const std::string &pool_name, rados_t *cluster);
+class TestAlarm
+{
+public:
+ TestAlarm() {
+ alarm(360);
+ }
+ ~TestAlarm() {
+ alarm(0);
+ }
+};
+
#endif