X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=src%2Fuserprog%2Fprocess.c;h=781cc5d3fc81c9b95a65ed47b6d589c15895c91f;hp=6c6003cbf0f798262e53802beae7ab02084dc093;hb=10331698d6d43cf1bb07248d832e93b7d1170567;hpb=2fd2a77d68a903503a7a83387926e0528e693b41 diff --git a/src/userprog/process.c b/src/userprog/process.c index 6c6003c..781cc5d 100644 --- a/src/userprog/process.c +++ b/src/userprog/process.c @@ -117,7 +117,8 @@ process_exit (void) } /* Sets up the CPU for running user code in the current - thread. */ + thread. + This function is called on every context switch. */ void process_activate (void) {