Добавлена настройка имени потока

This commit is contained in:
Aren Elchinyan 2024-02-01 10:23:28 +03:00
parent 8ad4c32272
commit 70d6805c0f
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ void (*free_framebuffer)(framebuffer_t *frame);
void (*exit)(int code);
int (*get_error)( );
sys_info_t *(*get_info)( );
uint64_t (*new_thread)(void (*func)(void *));
uint64_t (*new_thread)(void (*func)(void *), char *name);
void (*delete_thread)( );
time_t (*get_time)( );
uint64_t offset;

View File

@ -22,7 +22,7 @@ extern void (*free_framebuffer)(framebuffer_t *frame);
extern void (*exit)(int code);
extern int (*get_error)( );
extern sys_info_t *(*get_info)( );
extern uint64_t (*new_thread)(void (*func)(void *));
extern uint64_t (*new_thread)(void (*func)(void *), char *name);
extern void (*delete_thread)( );
extern time_t (*get_time)( );
extern uint64_t offset;

View File

@ -117,7 +117,7 @@ typedef struct {
sys_info_t *(*get_info)( );
module_info_t *(*get_module)(char *module_id);
module_info_t *(*mod_list_get)(uint64_t *count);
uint64_t (*new_thread)(void (*func)(void *));
uint64_t (*new_thread)(void (*func)(void *), char *name);
void (*delete_thread)( );
time_t (*get_time)( );
} __attribute__((packed)) env_t;