PKUOS - Pintos
Pintos source browser for PKU Operating System 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
8void process_exit (void);
9void process_activate (void);
10
11#endif /**< userprog/process.h */
tid_t process_execute(const char *file_name)
Starts a new thread running a user program loaded from FILENAME.
Definition: process.c:29
void process_activate(void)
userprog/process.h
Definition: process.c:123
int process_wait(tid_t)
void process_exit(void)
Free the current process's resources.
Definition: process.c:96
static const char file_name[]
tests/filesys/base/syn-read.h
Definition: syn-read.h:5
int tid_t
Thread identifier type.
Definition: thread.h:19