[Kernel] Moar threads

This commit is contained in:
wheremyfoodat 2023-04-20 22:00:51 +03:00
parent 920fd4cf0d
commit 134d63c515
4 changed files with 28 additions and 2 deletions

View file

@ -83,6 +83,7 @@ private:
u32 getTLSPointer();
void setupIdleThread();
void acquireSyncObject(KernelObject* object, const Thread& thread);
bool isWaitable(const KernelObject* object);
// Functions for the err:f port

View file

@ -211,7 +211,7 @@ struct KernelObject {
return static_cast<T*>(data);
}
const char* getTypeName() {
const char* getTypeName() const {
return kernelObjectTypeToString(type);
}