Reply to Re: Server Unique Identifier Question

Your name:

Reply:


Posted by Colin McKinnon on 02/05/06 23:40

David T. Ashley wrote:

> to never recur in the lifetime of the server. The method I'm using now is
> to concatentate:
>
> a)Integer time, in seconds,
>
> b)Micro time, in microseconds, and
>
> c)PID
>
> into one string, then to spin-lock or micro_sleep() until the micro_time
> changes.

There's not a *better* way, although your proposal is not very efficent (80+
bits a time / 18 decimal digits). (I would have used a counter with a
mutex)

C.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация