S
sword
My colleague asks me an interesting problem about uuid library in
python. In multicore system with multiprocessing, is it possible to
get the duplicated uuid with uuid1?
I just check the RFC 4122, and I can't find anything about multicore
environment. Python's uuid1 method generates the uuid with time stamp,
mac address, and algorithm to gen random numbers. So, I think it's
possible to get the duplicate uuid1 at the same time.
What about you? Hope for your reply
python. In multicore system with multiprocessing, is it possible to
get the duplicated uuid with uuid1?
I just check the RFC 4122, and I can't find anything about multicore
environment. Python's uuid1 method generates the uuid with time stamp,
mac address, and algorithm to gen random numbers. So, I think it's
possible to get the duplicate uuid1 at the same time.
What about you? Hope for your reply