cvs commit: src/sys/kern kern_thread.c src/sys/sys proc.h

John Baldwin jhb at FreeBSD.org
Mon Aug 4 13:28:22 PDT 2003


jhb         2003/08/04 13:28:21 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_thread.c 
    sys/sys              proc.h 
  Log:
  Set td_critnest to 1 when setting up a thread since it is a MI field with
  MI values.  This ensures that td_critnest for a newly fork'd thread is
  always valid.
  
  Requested by:   bde (a long time ago)
  
  Revision  Changes    Path
  1.154     +1 -0      src/sys/kern/kern_thread.c
  1.344     +1 -1      src/sys/sys/proc.h


More information about the cvs-src mailing list