Opened 9 years ago

Closed 9 years ago

#6203 closed defect (fixed)

amigcloud: usleep(3000000)

Reported by: Even Rouault Owned by: ragi@…
Priority: normal Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

ogramigocloudtablelayer.cpp has a usleep(3000000) with the comment Sleep 1 sec This is obviously inconsistant. And is the sleep really intended ?

And I'm wondering if this is not going to break Windows compilation. void CPLSleep( double dfWaitInSeconds ) should rather be used.

Change History (2)

comment:1 by Even Rouault, 9 years ago

I confirm that it breaks Windows compilation (if compiling from the amigocloud directory, since Windows compilation isn't triggered currently)

z:\home\even\gdal\svn\gdal-msvc\gdal\ogr\ogrsf_frmts\amigocloud\ogramigocloudtablelayer.cpp(1084) : error C3861: 'usleep': identifier not found

comment:2 by vchernetsky, 9 years ago

Resolution: fixed
Status: newclosed

Changed to use CPLSleep()

Note: See TracTickets for help on using tickets.