Not sure why this is a livelock?

84 views
Skip to first unread message

Joe Best-Rotheray

unread,
Apr 8, 2016, 8:43:05 AM4/8/16
to Relacy Race Detector
I've got a reported livelock, but the code appears to be still progressing forwards and values being inserted/removed from my queue.


Are there any common newbie issues that would cause relacy to think there's a livelock here?

Dmitry Vyukov

unread,
Apr 9, 2016, 12:52:20 PM4/9/16
to rel...@googlegroups.com
Hi Joe,

Relacy detects livelock when execution is just too long. If you have a
large test, you need to change execution_depth IIRC simulation
parameter. Default value is 2000 or so operations, you can set it to
any higher value.

Joe Best-Rotheray

unread,
Apr 11, 2016, 8:35:35 AM4/11/16
to Relacy Race Detector
That fixed it, thanks :)
Reply all
Reply to author
Forward
0 new messages