Details
Description
FileAllocator* FileAllocator::get() {
|
if (!_instance)
|
_instance = new FileAllocator();
|
return _instance;
|
}
|
_instance must protect by mutex , or directly assign by new FileAllocator.
Attachments
Issue Links
- links to