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

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

 



On Tue, 19 Oct 2010 17:13:10 -0700
Chandra Seetharaman <sekharan@xxxxxxxxxx> wrote:

> On Mon, 2010-10-18 at 10:01 +0900, FUJITA Tomonori wrote:
> 
> > 
> > tgkill is linux specific? If possible, I want to avoid linux specific
> > things because I know one BSD tgt user at least. :)
> 
> I used it only code the code readability. If we have higher purpose we
> can change it back to pthread_kill().
> 
> BTW, does BSD also have signalfd() feature ?

No (but it has the better event notification mechanism, I think). But
tgt has the proper workaround for signalfd in util.h. If systems don't
support signalfd (old linux kernels, bsd, etc), tgt uses the pthread
notification mechanism.

I guess that simply backing to pthread_kill is the easiest way. But
it's fine by me if you like to add some tricks like signalfd does.

btw, sorry for the delay to merge your pthread work. I like to fix the
tmf issue that Takahashi hit before that.
--
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