mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
LibThreading: Move now-trivial accessors of Thread to cpp file
Some of these might be changed in the future, and because Thread.h is a commonly included header file, we don't want to change it as much as possible.
This commit is contained in:
parent
7fd7562140
commit
9e40d4ccd6
2 changed files with 9 additions and 3 deletions
|
@ -52,6 +52,12 @@ ErrorOr<int> Thread::get_priority() const
|
|||
return scheduling_parameters.sched_priority;
|
||||
}
|
||||
|
||||
DeprecatedString Thread::thread_name() const { return m_thread_name; }
|
||||
|
||||
pthread_t Thread::tid() const { return m_tid; }
|
||||
|
||||
bool Thread::is_started() const { return m_started; }
|
||||
|
||||
void Thread::start()
|
||||
{
|
||||
int rc = pthread_create(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue