Re: [PATCH 08/12] Use bs_finish in thread per target

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

 



On Thu, 14 Oct 2010 21:48:17 -0700
Chandra Seetharaman <sekharan@xxxxxxxxxx> wrote:

> Hi Tomo,
> 
> On Tue, 2010-10-12 at 10:54 +0900, FUJITA Tomonori wrote:
> > On Mon, 11 Oct 2010 18:45:23 -0700
> > Chandra Seetharaman <sekharan@xxxxxxxxxx> 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
> > SYS_tgkill?
> 
> 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.

tgkill is linux specific? If possible, I want to avoid linux specific
things because I know one BSD tgt user at least. :)
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux