tech-userlevel archive

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


On Jun 24,  1:56pm, (Charles Cui) wrote:
-- Subject: Re: _SC_SIGQUEUE_MAX

| Hi Christos,
|    This test generates a deadlock. t1 holds resource m1 and waits for m2,
| t2 holds resource m2 and waits for m1.
| Is this the result that you want to generate?

That is correct. It should get a deadlock. And it is the wrong test.
Perhaps we can do it with a 3rd thread like it is described here:


Home | Main Index | Thread Index | Old Index