Update thread.h

Made the required changes for the alarm clock assignment.