/*
 * SPDX-FileCopyrightText: 2004 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#ifndef TANGO_SERVER_KILLTHREAD_H
#define TANGO_SERVER_KILLTHREAD_H

#include <tango/common/omnithread_wrapper.h>

namespace Tango
{
// NOLINTNEXTLINE(cppcoreguidelines-virtual-class-destructor)
class KillThread : public omni_thread
{
  public:
    void *run_undetached(void *) override;

    void start()
    {
        start_undetached();
    }

  private:
    ~KillThread() override = default;
};
} // namespace Tango
#endif
