Define a new system call to create a kernel thread, called clone() , as well as one to wait for a thread called join() . Then, use clone() to build a little thread library, with a thread_create() , lock_acquire() , and lock_release()
Define a new system call to create a kernel thread, called clone() , as well as one to wait for a thread called join() . Then, use clone() to build a little thread library, with a thread_create() , lock_acquire() , and lock_release()