mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
Kernel: Introduce threads, and refactor everything in support of it.
The scheduler now operates on threads, rather than on processes. Each process has a main thread, and can have any number of additional threads. The process exits when the main thread exits. This patch doesn't actually spawn any additional threads, it merely does all the plumbing needed to make it possible. :^)
This commit is contained in:
@@ -1182,8 +1182,8 @@ RetainPtr<Inode> Ext2FS::create_inode(InodeIdentifier parent_id, const String& n
|
||||
ext2_inode e2inode;
|
||||
memset(&e2inode, 0, sizeof(ext2_inode));
|
||||
e2inode.i_mode = mode;
|
||||
e2inode.i_uid = current->euid();
|
||||
e2inode.i_gid = current->egid();
|
||||
e2inode.i_uid = current->process().euid();
|
||||
e2inode.i_gid = current->process().egid();
|
||||
e2inode.i_size = size;
|
||||
e2inode.i_atime = timestamp;
|
||||
e2inode.i_ctime = timestamp;
|
||||
|
||||
Reference in New Issue
Block a user