[stgt] [PATCH 08/12] Use bs_finish in thread per target
sekharan at us.ibm.com
Fri Oct 15 06:48:17 CEST 2010
On Tue, 2010-10-12 at 10:54 +0900, FUJITA Tomonori wrote:
> On Mon, 11 Oct 2010 18:45:23 -0700
> Chandra Seetharaman <sekharan at us.ibm.com> wrote:
> > I did my coding/testing/debugging on RHEL 6. There is no direct support
> > for this system call :(, hence I used syscall (man page also suggests
> > so).
> I see. Seems that glibc doesn't provide the wrapper.
> One more related question: can we use pthread_kill() instead of
I changed it to be tgkill instead of pthread_kill to make that function
totally opaque about whom it is interacting with. This way the function
doesn't know if it calling the main thread or any sub threads, it also
doesn't explicitly use the global bs_finish data structure.
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt