Um, if you think that's clearer, I can change it...

-Darius (by phone)

On Sep 12, 2011 9:48 PM, "Burke Mamlin" <[email protected]> wrote:

Instead of an arbitrary sleep time, how about something like this?

/* Blocks until timestamp changes */
function notNow() {
  long t = new Date().getTime();
  while (new Date().getTime() == t) {
    sleep(1);
  }
}

// void obs
notNow();
// void patient
notNow();
// unvoid patient

-Burke



On Mon, Sep 12, 2011 at 9:45 PM, Darius Jazayeri <[email protected]>
wrote:
>
> In this case...

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to