DebugServer2
Loading...
Searching...
No Matches
Headers
DebugServer2
Target
FreeBSD
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
17
namespace
ds2 {
18
namespace
Target {
19
namespace
FreeBSD {
20
21
class
Thread
:
public
ds2::Target::POSIX::Thread
{
22
protected
:
23
int
_lastSyscallNumber;
24
25
protected
:
26
friend
class
Process
;
27
Thread
(
Process
*process, ThreadId tid);
28
29
protected
:
30
ErrorCode updateStopInfo(
int
waitStatus)
override
;
31
void
updateState()
override
;
32
33
private
:
34
void
updateState(
bool
force);
35
};
36
}
// namespace FreeBSD
37
}
// namespace Target
38
}
// namespace ds2
ds2::Target::FreeBSD::Process
Definition
Process.h:20
ds2::Target::FreeBSD::Thread
Definition
Thread.h:21
ds2::Target::POSIX::Thread
Definition
Thread.h:19
Generated by
1.12.0