bugfix:解决显示刷新线程未正确设置name字段的问题

This commit is contained in:
longjin
2022-10-20 16:00:43 +08:00
parent f5be8074dc
commit b6a77da0c9
3 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,7 @@
#include <common/spinlock.h>
#include <sched/sched.h>
#include <debug/bug.h>
#include <time/sleep.h>
static spinlock_t __kthread_create_lock; // kthread创建过程的锁
static struct List kthread_create_list; // kthread创建任务的链表

View File

@ -30,9 +30,9 @@
#define USER_DS (0x30)
// 进程初始化时的数据拷贝标志位
#define CLONE_FS (1 << 0) // 在进程间共享打开的文件
#define CLONE_SIGNAL (1 << 1)
#define CLONE_VM (1 << 2) // 在进程间共享虚拟内存空间
#define CLONE_FS (1UL << 0) // 在进程间共享打开的文件
#define CLONE_SIGNAL (1UL << 1)
#define CLONE_VM (1UL << 2) // 在进程间共享虚拟内存空间
struct thread_struct
{