#include "threads/thread.h"
Go to the source code of this file.
Functions | |
tid_t | process_execute (const char *file_name) |
int | process_wait (tid_t) |
void | process_exit (void) |
void | process_activate (void) |
void process_activate | ( | void | ) |
Definition at line 124 of file process.c.
References pagedir_activate(), thread_current(), and tss_update().
Referenced by load(), and schedule_tail().
tid_t process_execute | ( | const char * | file_name | ) |
Definition at line 30 of file process.c.
References NULL, palloc_free_page(), palloc_get_page(), PGSIZE, PRI_DEFAULT, start_process(), strlcpy(), thread_create(), thread::tid, and TID_ERROR.
Referenced by run_task().
void process_exit | ( | void | ) |
Definition at line 97 of file process.c.
References NULL, pagedir_activate(), pagedir_destroy(), and thread_current().
Referenced by thread_exit().
int process_wait | ( | tid_t | ) |