mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 13:16:31 +00:00
bugfix:解决显示刷新线程未正确设置name字段的问题
This commit is contained in:
@ -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创建任务的链表
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user