aboutsummaryrefslogtreecommitdiffstats
path: root/fastos/src/vespa/fastos/unix_thread.h
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-02-27 17:05:42 +0100
committerGitHub <noreply@github.com>2023-02-27 17:05:42 +0100
commita75326292b6486d42a47a6a2bd6d3dffb314bacd (patch)
tree469e5e43d10d984343150715796a75eea4a0cacc /fastos/src/vespa/fastos/unix_thread.h
parent13b171024bf1feba89246f88e3c26bfe7c32ead7 (diff)
parent6a5818c4f6a700b56c0d30ac2d36d32d2e2a3bc0 (diff)
Merge pull request #26204 from vespa-engine/havardpe/gc-fastos-threadv8.131.17
remove FastOS_Thread (and FastOS_ThreadPool/FastOS_Runnable)
Diffstat (limited to 'fastos/src/vespa/fastos/unix_thread.h')
-rw-r--r--fastos/src/vespa/fastos/unix_thread.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/fastos/src/vespa/fastos/unix_thread.h b/fastos/src/vespa/fastos/unix_thread.h
deleted file mode 100644
index c3c757e3fd9..00000000000
--- a/fastos/src/vespa/fastos/unix_thread.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-/**
-******************************************************************************
-* @author Oivind H. Danielsen
-* @date Creation date: 2000-02-02
-* @file
-* Class definition for FastOS_UNIX_Thread
-*****************************************************************************/
-
-#pragma once
-
-#include "thread.h"
-
-class FastOS_UNIX_Thread : public FastOS_ThreadInterface
-{
-protected:
- pthread_t _handle;
- bool _handleValid;
-
- bool Initialize () override;
-public:
- FastOS_UNIX_Thread(const FastOS_UNIX_Thread &) = delete;
- FastOS_UNIX_Thread& operator=(const FastOS_UNIX_Thread &) = delete;
- FastOS_UNIX_Thread(FastOS_ThreadPool *pool)
- : FastOS_ThreadInterface(pool),
- _handle(),
- _handleValid(false)
- {}
-
- ~FastOS_UNIX_Thread() override;
-
- FastOS_ThreadId GetThreadId () const noexcept override;
- static bool CompareThreadIds (FastOS_ThreadId a, FastOS_ThreadId b);
- static FastOS_ThreadId GetCurrentThreadId ();
-};
-
-