cvs commit: src/sys/kern sys_generic.c

Simon Schubert corecode at
Thu Aug 2 06:30:23 PDT 2007

corecode    2007/08/02 06:29:42 PDT

DragonFly src repository

  Modified files:
    sys/kern             sys_generic.c 
  Fix select and poll use in LWPs.
  When select(2) or poll(2) puts to sleep a LWP, the LWP may never be woken up
  when the events waited for occur because the TID of the LWP is not saved in
  the selinfo structure by selrecord().
  si_tid is not initialised explicitly anywhere but happens to bet set to 0, so
  the problem was not apparent for the initial LWP created at process
  construction time.
  Submitted-by:  Nicolas Thery <nthery at>
  Revision  Changes    Path
  1.45      +1 -0      src/sys/kern/sys_generic.c

More information about the Commits mailing list