[stgt] [PATCH 08/12] Use bs_finish in thread per target
fujita.tomonori at lab.ntt.co.jp
Wed Oct 20 02:31:10 CEST 2010
On Tue, 19 Oct 2010 17:13:10 -0700
Chandra Seetharaman <sekharan at us.ibm.com> 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
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 at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt