Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-08-07 23:35:02


K. Noel Belcourt wrote:
> On Aug 7, 2007, at 7:49 PM, Rene Rivera wrote:
>
>> Ion Gaztañaga wrote:
>>> Ummm. What do you suggests, temporary names created on the fly (using
>>> the system clock, perhaps)? serialization library uses temporary
>>> files
>>> but that's not enough, since I have to create unique resource names.
>> If you have access to it, or can figure out how to get it, using the
>> process ID is the safest.
>
> hostid will get you the processor id, but I'm not sure that will

Did you really mean "processor"? I was thinking of the ID the scheduler
gives each running program. Which is obviously unique for all concurrent
processes.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk