Port OS.File read/writeAtomic to C++
Categories
(Toolkit Graveyard :: OS.File, task)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: mail, Assigned: mail)
References
Details
Attachments
(4 files)
Part of larger work to port OS.File to C++, we'd like to define a small Web IDL interface to implement static read/writeAtomic methods (which are the most used methods of the OS.File API) in C++.
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
The class PR_CloseDelete is a useful deletor for automatically closing NSPR File
Descriptors when used with UniquePtr. This patch extracts this class from
nsTerminator.cpp to a new module at toolkit/library/nsprutil so it may be used
by new code.
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D80719
Assignee | ||
Comment 4•5 years ago
|
||
This patch extracts some functions from OS.File tests to
mochitest/tests/SimpleTest to be more readily used by new code which needs to
run tests in ChromeWorkers.
Depends on D80896
Updated•5 years ago
|
![]() |
||
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7deedab9e8d3
https://hg.mozilla.org/mozilla-central/rev/05642361f23b
https://hg.mozilla.org/mozilla-central/rev/5b0c6f346230
https://hg.mozilla.org/mozilla-central/rev/14af8a35e823
Updated•2 years ago
|
Description
•