Up to [cvs.NetBSD.org] / src / lib / libpthread
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: hpcarm-cleanup
Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 21 15:27:14 2005 UTC (18 years, 7 months ago) by tv
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
nick-csl-alignment-base2,
nick-csl-alignment-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: nick-csl-alignment
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored)
pthread_attr_getschedpolicy() wasn't setting the return buffer at all. SCHED_OTHER happens to be 0, so this assignment to "int *" succeeds, and becomes a no-op. Fix by dereferencing "policy" to do the assignment, thus filling the return buffer with 0.