|
Boost : |
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-08-07 23:52:31
On Aug 7, 2007, at 9:35 PM, Rene Rivera wrote:
> 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 need to read a bit more carefully, sorry about the noise.
> I was thinking of the ID the scheduler
> gives each running program. Which is obviously unique for all
> concurrent
> processes.
Yes, you are right.
-- Noel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk