cvs commit: src/lib/libpthread/thread thr_sig.c

David Xu davidxu at
Wed Aug 20 06:43:37 PDT 2003

davidxu     2003/08/20 06:43:35 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/thread thr_sig.c 
  _thr_sig_check_pending is also called by scope system thread when it leaves
  critical region, we wrap some syscalls for thread cancellation point, and
  when syscalls returns, we call _thr_leave_cancellation_point, at the time
  if a signal comes in, it would be buffered, and when the thread leaves
  _thr_leave_cancellation_point, buffered signals will be processed, to avoid
  messing up normal syscall errno, we should save and restore errno around
  signal handling code.
  Revision  Changes    Path
  1.69      +3 -0      src/lib/libpthread/thread/thr_sig.c

More information about the cvs-src mailing list