mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r11479] Purpose:
Maintenance on Windows Description: No Alarm function on Windows Solution: Platforms tested: MSVS 6.0 on Windows XP Misc. update:
This commit is contained in:
parent
55c4f63df7
commit
3d21af7eb8
@ -111,13 +111,8 @@ extern MPI_Info h5_io_info_g; /* MPI INFO object for IO */
|
||||
* Alarm definitions to wait up (terminate) a test that runs too long.
|
||||
*/
|
||||
#define alarm_seconds 1200 /* default is 20 minutes */
|
||||
#ifndef WIN32
|
||||
#define ALARM_ON HDalarm(alarm_seconds)
|
||||
#define ALARM_OFF HDalarm(0)
|
||||
#else
|
||||
#define ALARM_ON
|
||||
#define ALARM_OFF
|
||||
#endif
|
||||
/* set alarms to N seconds if N > 0, else use default alarm_seconds. */
|
||||
#define ALARM_SET(N) HDalarm((N)>0 ? N : alarm_seconds)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user