From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] futex: regression test for take hugepages into account when generating futex_key
Date: Wed, 17 Jun 2015 15:41:36 +0200 [thread overview]
Message-ID: <20150617134136.GB3082@rei.suse.de> (raw)
In-Reply-To: <266085602.15945003.1434547937242.JavaMail.zimbra@redhat.com>
Hi!
> proper synchronization primitives ??
> I haven't used that. Could you show me a simple demo?
That just means that one thread/process waits for some
message/file_change/sleeps in syscall instead of sleeping predefined
time and hoping that the other thread/process has done something
meanwhile.
Which is faster than sleeping blindly and also more error prone.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2015-06-17 13:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-16 8:53 [LTP] [PATCH] futex: regression test for take hugepages into account when generating futex_key Li Wang
2015-06-16 13:21 ` Cyril Hrubis
[not found] ` <266085602.15945003.1434547937242.JavaMail.zimbra@redhat.com>
2015-06-17 13:41 ` 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=20150617134136.GB3082@rei.suse.de \
--to=chrubis@suse.cz \
--cc=liwang@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
/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