summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/libmdbx/test/osal.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src/libmdbx/test/osal.h')
-rw-r--r--plugins/Dbx_mdbx/src/libmdbx/test/osal.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/plugins/Dbx_mdbx/src/libmdbx/test/osal.h b/plugins/Dbx_mdbx/src/libmdbx/test/osal.h
deleted file mode 100644
index c27282a656..0000000000
--- a/plugins/Dbx_mdbx/src/libmdbx/test/osal.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2017-2018 Leonid Yuriev <leo@yuriev.ru>
- * and other libmdbx authors: please see AUTHORS file.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted only as authorized by the OpenLDAP
- * Public License.
- *
- * A copy of this license is available in the file LICENSE in the
- * top-level directory of the distribution or, alternatively, at
- * <http://www.OpenLDAP.org/license.html>.
- */
-
-#pragma once
-
-#include "base.h"
-
-void osal_setup(const std::vector<actor_config> &actors);
-void osal_broadcast(unsigned id);
-int osal_waitfor(unsigned id);
-
-int osal_actor_start(const actor_config &config, mdbx_pid_t &pid);
-actor_status osal_actor_info(const mdbx_pid_t pid);
-void osal_killall_actors(void);
-int osal_actor_poll(mdbx_pid_t &pid, unsigned timeout);
-void osal_wait4barrier(void);
-
-mdbx_pid_t osal_getpid(void);
-int osal_delay(unsigned seconds);
-void osal_udelay(unsigned us);
-void osal_yield(void);
-bool osal_istty(int fd);
-std::string osal_tempdir(void);
-
-#ifdef _MSC_VER
-#ifndef STDIN_FILENO
-#define STDIN_FILENO _fileno(stdin)
-#endif
-#ifndef STDOUT_FILENO
-#define STDOUT_FILENO _fileno(stdout)
-#endif
-#ifndef STDERR_FILENO
-#define STDERR_FILENO _fileno(stderr)
-#endif
-#endif /* _MSC_VER */