Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

H5P.set_gc_references

Set garbage collection references flag

Syntax

H5P.set_gc_references(fapl_id,gc_ref)

Description

H5P.set_gc_references(fapl_id,gc_ref) sets the flag for garbage collecting references for the file specified by the file access property list identifier, fapl_id. The gc_ref argument is a flag setting reference garbage collection to on (1) or off (0).

Examples

fcpl = H5P.create('H5P_FILE_CREATE');
fapl = H5P.create('H5P_FILE_ACCESS');
H5P.set_gc_references(fapl,1);
fid = H5F.create('myfile.h5','H5F_ACC_TRUNC',fcpl,fapl);
H5F.close(fid);
Was this topic helpful?