bug-hurd
[Top][All Lists]
Advanced

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

Re: Update: Failing tests: Re: RFC: [PATCH] SCM_CREDS support


From: Samuel Thibault
Subject: Re: Update: Failing tests: Re: RFC: [PATCH] SCM_CREDS support
Date: Mon, 14 Mar 2016 14:36:37 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Svante Signell, on Mon 14 Mar 2016 14:35:13 +0100, wrote:
> On Mon, 2016-03-14 at 14:23 +0100, Richard Braun wrote:
> > On Mon, Mar 14, 2016 at 02:16:17PM +0100, Samuel Thibault wrote:
> > > Svante Signell, on Mon 14 Mar 2016 12:20:18 +0100, wrote:
> > > > Why, because it doesn't have a sleep statement?
> > > 
> > > I was referring to strict logic: it's not just because it happens to
> > 
> > Also, using sleep for synchronization is always wrong.
> 
> Dear Richard and Samuel, I know using sleep is considered bad! Please tell me
> how the test code should be written to wait for the acknowledgement from the
> receiver.

Well, I thought it'd be obvious: make the receiver send a packet, that
the sender will wait for before exiting. A sort of acknowledgement.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]