How to say `is_thread_run(run) == true` using mutex?

26 views
Skip to first unread message

Kiwamu Okabe

unread,
Aug 27, 2020, 10:10:29 PM8/27/20
to veri...@googlegroups.com
Dear all,

I'm using mutex on VeriFast, but it can't say `is_thread_run(run) == true`.

https://github.com/metasepi/postmortem/blob/master/Security-Advisory/FreeBSD-kernel/FreeBSD-SA-20:20.ipv6/Resolution/VeriFast/error/main.c

Above code is written reference to following:

https://github.com/verifast/verifast/blob/master/tutorial_solutions/mutexes.c

Best regards,
--
Kiwamu Okabe at METASEPI DESIGN

bart....@cs.kuleuven.be

unread,
Aug 28, 2020, 8:59:50 AM8/28/20
to VeriFast
Dear Kiwamu,

You have to insert //@ : thread_run after the parameter list of function ip6_thread.

Best,
Bart

Kiwamu Okabe

unread,
Aug 28, 2020, 7:06:43 PM8/28/20
to bart....@cs.kuleuven.be, VeriFast
Dear Bart,

On Fri, Aug 28, 2020 at 9:59 PM bart....@cs.kuleuven.be
<bart....@cs.kuleuven.be> wrote:
> You have to insert //@ : thread_run after the parameter list of function ip6_thread.

It's fixed with your advice.
Thanks, but I'm sorry to miss-understand the thread.
Reply all
Reply to author
Forward
0 new messages