\begin{sequencediagram}
  \newthread{a}{:Thread A}
  \newthread[gray]{b}{:Thread B}

  \mess[1]{a}{ping}{b}
  \mess[1]{b}{pong}{a}
\end{sequencediagram}
