Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 2/2] pthread_create-14-1: avoid threads sharing stack
Date: Tue, 12 Dec 2017 10:56:13 +0100	[thread overview]
Message-ID: <20171212095613.GA12279@rei.lan> (raw)
In-Reply-To: <1721839199.53982933.1513070765015.JavaMail.zimbra@redhat.com>

Hi!
> Pushed with long long. I did same change to pthread_detach-4-3,
> where I made the same mistake years ago.
> 
> I'm thinking if we could re-use include/tst_timer.h in open_posix tests.

The timespec/timeval conversions are pretty much portable so it would
make sense to export this interface for open_posix_testsuite as well.

I guess that we may create a header
open_posix_testsuite/include/timerconv.h or something that would be used
as proxy header and would include the tst_timer.h from top level
include. This would make the open posix testsuite dependant on the rest
of the LTP, which hasn't been the case so far, but I have no idea if
someone actually cares.


-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2017-12-12  9:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-06 14:05 [LTP] [PATCH v2 1/2] open_posix: add SAFE_FUNC macro Jan Stancek
2017-12-06 14:05 ` [LTP] [PATCH v2 2/2] pthread_create-14-1: avoid threads sharing stack Jan Stancek
2017-12-11 14:38   ` Cyril Hrubis
2017-12-12  9:26     ` Jan Stancek
2017-12-12  9:56       ` Cyril Hrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171212095613.GA12279@rei.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox