deps/PicklingTools170Release/M2k/opalpython/m2opalpythonserver.cc
string OpalPythonServer::createUniqueId_ (const string& client_id)
{
  string unique_id; 
  { 
    ProtectScope lock(mapMutex_);
    unique_id = Stringize(++nextUniqueId_);
    uniqueClientMap_.put(unique_id, client_id);
  }
  UniqueIdToClientIdMapping.post(uniqueClientMap_);
  return unique_id;
}
// The following methods perform the generation, mapping and managing
// of unique id's for each client.
The following methods perform the generation, mapping and managing
of unique id's for each client.
The following methods perform the generation mapping and managing of unique id ' s for each client .
string OpalPythonServer::createUniqueId_ (const string& client_id)
{
  string unique_id; 
  { 
    ProtectScope lock(mapMutex_);
    unique_id = Stringize(++nextUniqueId_);
    uniqueClientMap_.put(unique_id, client_id);
  }
  UniqueIdToClientIdMapping.post(uniqueClientMap_);
  return unique_id;
}
string OpalPythonServer :: createUniqueId_ ( const string & client_id ) { string unique_id ; { ProtectScope lock ( mapMutex_ ) ; unique_id = Stringize ( ++ nextUniqueId_ ) ; uniqueClientMap_ . put ( unique_id , client_id ) ; } UniqueIdToClientIdMapping . post ( uniqueClientMap_ ) ; return unique_id ; }
The following methods perform the generation, mapping and managing
of unique id's for each client.
The following methods perform the generation mapping and managing of unique id ' s for each client .