Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libpthread

Module Name:    src
Committed By:   ad
Date:           Sun Mar 29 09:30:05 UTC 2009

Modified Files:
        src/lib/libpthread: pthread.c
        src/lib/libpthread/arch/i386: pthread_md.c pthread_md.h

Log Message:
- Make the threadreg code use _lwp_setprivate() instead of MD hooks.

  XXX This must not be enabled by default because the LWP private mechanism
  is reserved for TLS. It is provided only as a test/demo.

  XXX Since ucontext_t does not contain the thread private variable, for a
  short time after threads are created their thread specific data is unset.
  If a signal arrives during that time we are screwed.

- No longer need pthread__osrev.

- Rearrange _lwp_ctl() calls slightly.

To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/lib/libpthread/pthread.c
cvs rdiff -u -r1.5 -r1.6 src/lib/libpthread/arch/i386/pthread_md.c
cvs rdiff -u -r1.15 -r1.16 src/lib/libpthread/arch/i386/pthread_md.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index