dmlc / dmlc/dmlc-core

Why ref_counter of HdfsFileSystem isn't designed with atomic_int_type ?

Open
#642 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
878
Forks
526
Avg merge
12d 19h
Merged PRs (30d)
1

Description

If last HDFSStream or singleton HdfsFilesystem object is descructed, i'm confused about "ref_counter_[0] -= 1" might not achieve the desired effect, which will lead to hdfsFS not disconnected. Could you pls give me some hint about this question?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.