DebugServer2
Loading...
Searching...
No Matches
Thread.h
1//
2// Copyright (c) 2014-present, Facebook, Inc.
3// All rights reserved.
4//
5// This source code is licensed under the University of Illinois/NCSA Open
6// Source License found in the LICENSE file in the root directory of this
7// source tree. An additional grant of patent rights can be found in the
8// PATENTS file in the same directory.
9//
10
11#pragma once
12
13#include "DebugServer2/Target/POSIX/Thread.h"
14
15#include <csignal>
16
17namespace ds2 {
18namespace Target {
19namespace FreeBSD {
20
22protected:
23 int _lastSyscallNumber;
24
25protected:
26 friend class Process;
27 Thread(Process *process, ThreadId tid);
28
29protected:
30 ErrorCode updateStopInfo(int waitStatus) override;
31 void updateState() override;
32
33private:
34 void updateState(bool force);
35};
36} // namespace FreeBSD
37} // namespace Target
38} // namespace ds2
Definition Process.h:20
Definition Thread.h:21
Definition Thread.h:19