changeset 11:8bf97bf22f54 draft

modify
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Wed, 22 Feb 2012 16:24:21 +0900
parents 95325401552b
children f0a7ebdf9d3f
files paper/resume.tex
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/paper/resume.tex	Wed Feb 22 03:26:39 2012 +0900
+++ b/paper/resume.tex	Wed Feb 22 16:24:21 2012 +0900
@@ -90,7 +90,7 @@
     \begin{lstlisting}[caption=環境付き継続を行うコード,label=code:retval]
 ({
 __label__ _cbc_exit0;
-int retval; // should be thread local
+static int retval;
 void _cbc_internal_return(int retval_, 
                           void *_envp){
   retval = retval_;
@@ -113,9 +113,9 @@
 しかしこれではスレッドセーフではない.
 そこで retval 変数の値を static thread local で確保することでこの問題の解決を行った.
 
-\section{構文の追加}
+\subsection{構文の追加}
 
-\subsection{``\_\_rectype'', ``selftype'' 構文}
+\subsubsection{``\_\_rectype'', ``selftype'' 構文}
 %\verb+__rectype+キーワードはリカーシブタイプを宣言する時に使われる.
 通常, 関数定義において引数の中に自分自身を指す関数ポインタを入れることはできない.
 そこで, \verb+__rectype+を使うことでlisting\ref{code:rectype}の用な宣言が行うことができる.