RFA: nptl threading support for schedlock.exp

J. Johnston jjohnstn@redhat.com
Wed Apr 23 19:53:00 GMT 2003


The following changes schedlock.exp for running with nptl threads.
Under the nptl model, a very small time slice is not divided up equally
as it was in the past with linuxthreads.

The test case is also changed to ensure that one of the child threads
is used to test schedule locking instead of the main thread.  In early
testing with nptl, a kernel problem was identified when the main thread
was locked and an interrupt signal was sent.

Ok to commit?

-- Jeff J.

2003-04-23  Jeff Johnston  <jjohnstn@redhat.com>

	* gdb.threads/schedlock.exp: Remove assumption that all threads will run in a
	particular small time slice.  Also ensure we break in one of the child threads
	rather than the	main thread.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: schedlock.nptl.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030423/c2144791/attachment.ksh>


More information about the Gdb-patches mailing list