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: override CreateJob instead of PostJob · nodejs/node@19a70c1

File tree

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

‎src/node_platform.cc‎

Copy file name to clipboardExpand all lines: src/node_platform.cc
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,8 @@ bool NodePlatform::FlushForegroundTasks(Isolate* isolate) {
519519
return per_isolate->FlushForegroundTasksInternal();
520520
}
521521

522-
std::unique_ptr<v8::JobHandle> NodePlatform::PostJob(v8::TaskPriority priority,
523-
std::unique_ptr<v8::JobTask> job_task) {
522+
std::unique_ptr<v8::JobHandle> NodePlatform::CreateJob(
523+
v8::TaskPriority priority, std::unique_ptr<v8::JobTask> job_task) {
524524
return v8::platform::NewDefaultJobHandle(
525525
this, priority, std::move(job_task), NumberOfWorkerThreads());
526526
}
Collapse file

‎src/node_platform.h‎

Copy file name to clipboardExpand all lines: src/node_platform.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class NodePlatform : public MultiIsolatePlatform {
155155
double CurrentClockTimeMillis() override;
156156
v8::TracingController* GetTracingController() override;
157157
bool FlushForegroundTasks(v8::Isolate* isolate) override;
158-
std::unique_ptr<v8::JobHandle> PostJob(
158+
std::unique_ptr<v8::JobHandle> CreateJob(
159159
v8::TaskPriority priority,
160160
std::unique_ptr<v8::JobTask> job_task) override;
161161

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.