cvs commit: src/sys/sys umtx.h src/sys/kern kern_umtx.c

From: David Xu <davidxu_at_FreeBSD.org>
Date: Wed, 12 Jan 2005 05:55:52 +0000 (UTC)
davidxu     2005-01-12 05:55:52 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              umtx.h 
    sys/kern             kern_umtx.c 
  Log:
  Let _umtx_op directly return error code rather than from errno because
  errno can be tampered potentially by nested signal handle.
  Now all error codes are returned in negative value, positive value are
  reserved for future expansion.
  
  Revision  Changes    Path
  1.29      +23 -12    src/sys/kern/kern_umtx.c
  1.11      +6 -16     src/sys/sys/umtx.h
Received on Wed Jan 12 2005 - 05:55:53 UTC