CS318 - Pintos
Pintos source browser for JHU CS318 course
process.h
Go to the documentation of this file.
1 #ifndef USERPROG_PROCESS_H
2 #define USERPROG_PROCESS_H
3 
4 #include "threads/thread.h"
5 
6 tid_t process_execute (const char *file_name);
7 int process_wait (tid_t);
8 void process_exit (void);
9 void process_activate (void);
10 
11 #endif /**< userprog/process.h */
tid_t
int tid_t
Thread identifier type.
Definition: thread.h:19
file_name
static const char file_name[]
tests/filesys/base/syn-read.h
Definition: syn-read.h:5
process_execute
tid_t process_execute(const char *file_name)
Starts a new thread running a user program loaded from FILENAME.
Definition: process.c:29
process_activate
void process_activate(void)
userprog/process.h
Definition: process.c:123
process_wait
int process_wait(tid_t)
process_exit
void process_exit(void)
Free the current process's resources.
Definition: process.c:96
thread.h