1
/*****************************************************************
2
* Unipro UGENE - Integrated Bioinformatics Suite
3
* Copyright (C) 2008 Unipro, Russia (http://ugene.unipro.ru)
6
* This source code is distributed under the terms of the
7
* GNU General Public License. See the files COPYING and LICENSE
9
*****************************************************************/
11
#include "WorkflowTransport.h"
17
int Message::nextid() {
18
static QAtomicInt id(0);
19
return id.fetchAndAddRelaxed(1); //memory model??
22
} //Workflow namespace