Re: RFC: getting a unique integer value


Subject: Re: RFC: getting a unique integer value
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Mon Oct 15 2001 - 08:39:51 CDT


> UT_uint32 UT_newNumber ()
> {
> static UT_uint32 theNum = 0;
> //MUTEX_PROTECT this variable someday soon
> return theNum++;
> }
>
> Anyone opposed to me checking this into ut_math?

Committed.

Dom



This archive was generated by hypermail 2b25 : Mon Oct 15 2001 - 08:39:58 CDT