X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=formal-model%2Fspinlock%2Fmem.sh;fp=formal-model%2Fspinlock%2Fmem.sh;h=56e81230b41bdefa6717997cbdf2a8da349c35db;hb=656c7dc16c88b6683727087013c702687dfd022b;hp=0000000000000000000000000000000000000000;hpb=d4de486929b21b452a6fd94f2ca6c906c0f6b6b2;p=urcu.git diff --git a/formal-model/spinlock/mem.sh b/formal-model/spinlock/mem.sh new file mode 100644 index 0000000..56e8123 --- /dev/null +++ b/formal-model/spinlock/mem.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Compiles and runs the urcu.spin Promela model. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# Copyright (C) IBM Corporation, 2009 +# Mathieu Desnoyers, 2009 +# +# Authors: Paul E. McKenney +# Mathieu Desnoyers + +# Basic execution, without LTL clauses. See Makefile. + +spin -a mem.spin +cc -DSAFETY -o pan pan.c +./pan -v -c1 -X -m10000000 -w21