mirror of https://github.com/0Nera/BMOSP.git
Добавлена настройка имени потока
This commit is contained in:
parent
8ad4c32272
commit
70d6805c0f
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue