Re: nanosleep over multiple processes
Randi Botse <[email protected]> Wed, 27 Jun 2012 22:44:36 +0700
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <CAA6iF_7phbSAuOgeXjywJ05gedTpTY=a_v9pAeyYJ4MBTqUvpw@mail.gmail.com> |
Okay, and libuuid is even better implementation on how unique ID should be generated in the real world that respect with many aspects of parallelism. So I'll completely need to rewrite my naive UID generator. Thanks for everyone for giving me great lessons and resources. Randi, On Sat, Jun 23, 2012 at 8:11 PM, Vladimir Murzin <[email protected]> wrote: > Hi > > Why don't you use universally unique identifier (UUID)[1]? > I was invented and standardized to deal with cases like yours. > You can find more information how to use UUID in your software form > man uuid [2] > > [1] http://en.wikipedia.org/wiki/Universally_unique_identifier > [2] http://linux.die.net/man/3/uuid > > Best wishes > Vladimir Murzin