1 %-----------------------------------------------------------------------------
3 % Template for sigplanconf LaTeX Class
5 % Name: sigplanconf-template.tex
7 % Purpose: A template for sigplanconf.cls, which is a LaTeX 2e class
8 % file for SIGPLAN conference proceedings.
10 % Guide: Refer to "Author's Guide to the ACM SIGPLAN Class,"
11 % sigplanconf-guide.pdf
13 % Author: Paul C. Anagnostopoulos
18 % Created: 15 February 2005
20 %-----------------------------------------------------------------------------
23 \documentclass[nocopyrightspace]{sig-alternate}
25 % The following \documentclass options may be useful:
27 % 10pt To set in 10-point type instead of 9-point.
28 % 11pt To set in 11-point type instead of 9-point.
29 % authoryear To obtain author/year citation style instead of numeric.
31 \usepackage[scaled]{helvet} % see www.ctan.org/get/macros/latex/required/psnfss/psnfss2e.pdf
32 \usepackage{url} % format URLs
33 \usepackage{listings} % format code
34 \usepackage{enumitem} % adjust spacing in enums
36 \usepackage[colorlinks=true,allcolors=blue,breaklinks,draft]{hyperref}
37 \newcommand{\doi}[1]{doi:~\href{http://dx.doi.org/#1}{\Hurl{#1}}} % print a hyperlinked DOI
40 \usepackage{algorithm}% http://ctan.org/pkg/algorithms
41 \usepackage{algpseudocode}% http://ctan.org/pkg/algorithmicx
53 \definecolor{listinggray}{gray}{0.9}
54 \definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
56 % backgroundcolor=\color{lbcolor},
58 % aboveskip={1.5\baselineskip},
62 basicstyle=\ttfamily\scriptsize,
65 showstringspaces=false,
67 prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
71 showstringspaces=false,
72 identifierstyle=\ttfamily,
73 keywordstyle=\color[rgb]{0,0,1},
74 commentstyle=\color[rgb]{0.133,0.545,0.133},
75 stringstyle=\color[rgb]{0.627,0.126,0.941},
79 escapeinside={/*@}{@*/}
82 \usepackage{algpseudocode}
84 \usepackage[utf8]{inputenc}
85 \usepackage[english]{babel}
87 \newtheorem{theorem}{Theorem}
88 \newtheorem{corollary}{Corollary}[theorem]
89 \newtheorem{lemma}[theorem]{Lemma}
91 \newcommand{\hb}[0]{\textit{hb}\xspace}
92 \newcommand{\mo}[0]{\textit{mo}\xspace}
94 \newcommand{\pushcode}[1][1]{\hskip\dimexpr#1\algorithmicindent\relax}
98 % \usepackage{latexsym}
99 % \usepackage{amsfonts}
100 % \usepackage{amsthm}
101 % \usepackage{txfonts}
103 % \usepackage{subfigure}
106 % \usepackage{stfloats}
108 \newcommand{\squishlist}{
109 \begin{list}{$\bullet$}
111 \setlength{\itemsep}{1pt}
112 \setlength{\parsep}{1pt}
113 \setlength{\topsep}{1pt}
114 \setlength{\partopsep}{1pt}
115 \setlength{\leftmargin}{1em}
116 \setlength{\labelwidth}{0.5em}
117 \setlength{\labelsep}{0.5em}
121 \newcommand{\squishend}{
125 \newcommand{\squishcount}{
128 \begin{list}{\bf \arabic{enumi}.}
130 \setlength{\itemsep}{1pt} \setlength{\parsep}{0pt}
131 \setlength{\topsep}{0pt} \setlength{\partopsep}{0pt}
132 \setlength{\leftmargin}{1em} \setlength{\labelwidth}{0.5em}
133 \setlength{\labelsep}{0.5em} } }
135 \newcommand{\countend}{
141 \newcommand{\code}[1]{\text{\tt #1}}
142 \newcommand{\mypara}[1]{\noindent {#1}}
143 \newcommand{\etal}{\textit{et al}.\xspace}
144 \newcommand{\cdschecker}[0]{\textsc{CDSChecker}\xspace}
145 \newcommand{\TOOL}[0]{\textsc{CDSSpec}\xspace}
147 \newcommand{\TODO}[0]{\textbf{TODO}\xspace}
148 \newcommand{\todo}[1]{{\bf [[#1]]}}
149 %\newcommand{\todo}[1]{}
150 \newcommand{\comment}[1]{}
151 \newcommand{\tuple}[1]{\ensuremath \langle #1 \rangle}
152 \newcommand{\rf}{\reltext{rf}}
153 \newcommand{\relation}[1]{\xrightarrow{\textit{#1}}}
154 \newcommand{\reltext}[1]{\textit{#1}}
156 %\newcommand{\mysection}[1]{\vspace{-.15cm}\section{#1}\vspace{-.15cm}}
157 \newcommand{\mysection}[1]{\section{#1}}
158 %\newcommand{\mysubsection}[1]{\vspace{-.15cm}\subsection{#1}\vspace{-.1cm}}
159 \newcommand{\mysubsection}[1]{\subsection{#1}}
160 %\newcommand{\mysubsubsection}[1]{\vspace{-.15cm}\subsubsection{#1}\vspace{-.1cm}}
161 \newcommand{\mysubsubsection}[1]{\subsubsection{#1}}
167 \title{CDSSpec: Testing Concurrent Data Structures Under the C/C++11 Memory Model}
169 \author{Peizhao Ou and Brian Demsky}
182 \input{formalization}
183 %\input{specification}
184 %\input{implementation}
190 % We recommend abbrvnat bibliography style.
191 \bibliographystyle{abbrv}
192 \bibliography{confstrs-long,paper}