rr, threads, and signal handlers
robert at ocallahan.org
Tue Nov 3 04:04:31 UTC 2015
On Tue, Nov 3, 2015 at 5:02 PM, Robert O'Callahan <robert at ocallahan.org>
> rr should allow a context switch in that case. I'm not sure why you're
> Inserting a sched_yield while busy-waiting should make the problem go
> away. Does it?
> Does the problem show up if you write a small standalone testcase with the
> behavior you described?
And, I assume you're not messing with thread priorities? If thread 2 had
higher priority than thread 1 (e.g. via sched_setparam) I would expect that
lbir ye,ea yer.tnietoehr rdn rdsme,anea lurpr edna e hnysnenh hhe uresyf
selthor stor edna siewaoeodm or v sstvr esBa kbvted,t
o l euetiuruewFa kbn e hnystoivateweh uresyf tulsa rehr rdm or rnea
.a war hsrer holsa rodvted,t nenh hneireseoouot.tniesiewaoeivatewt sstvr
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rr-dev