GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: lock-free init_process_flags · nodejs/node@bf028a6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node.cc
    • node.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node.cc‎

Copy file name to clipboardExpand all lines: src/node.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ void ResetSignalHandlers() {
445445
#endif // __POSIX__
446446
}
447447

448-
static std::atomic<uint64_t> init_process_flags = 0;
448+
static std::atomic<uint32_t> init_process_flags = 0;
449449

450450
static void PlatformInit(ProcessInitializationFlags::Flags flags) {
451451
// init_process_flags is accessed in ResetStdio(),
Collapse file

‎src/node.h‎

Copy file name to clipboardExpand all lines: src/node.h
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ class MultiIsolatePlatform;
228228
class InitializationResultImpl;
229229

230230
namespace ProcessFlags {
231+
// TODO(addaleax): Switch to uint32_t to match std::atomic<uint32_t>
232+
// init_process_flags in node.cc
231233
enum Flags : uint64_t {
232234
kNoFlags = 0,
233235
// Enable stdio inheritance, which is disabled by default.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.