tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: _SC_SIGQUEUE_MAX
On Jun 24, 1:56pm, charles.cui1984%gmail.com@localhost (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:
https://en.wikipedia.org/wiki/Priority_inversion
christos
Home |
Main Index |
Thread Index |
Old Index