Jody Garnett ha scritto:
> Good detective work ... I am wonder (if this is a test of memory 
> datastore) what can possibly be going on... oh wait the feature is 
> locked for a Duration.
> 
> The lock is only checked when it is tested, so the check should be 
> stable regardless of what is going on.... oh I guess we do need to wait 
> for the System clock to click over a notch.
> 
> Could we do a loop?
> 
> long time = System get time in milliseconds
> do {
>    Thread.sleep( 15 );
> } while( time == System get time in milliseconds );
> 
> May be a "Faster" alternative to waiting 200 milliseconds and will 
> protect us from hardware changes in the future.

Yeah, looks good :)
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to