Codeunit 490 Parallel Session Management

Base Application, System.Threading

Source AL, 209 lines

src/Layers/W1/BaseApp/ParallelSessionManagement.Codeunit.allines 11 to 26 of 209, Copyright (c) Microsoft Corporation. MIT

codeunit 490 "Parallel Session Management"{    trigger OnRun()    begin    end;    var        TempParallelSessionEntry: Record "Parallel Session Entry" temporary;        TempIntegerFreeMemMapFile: Record "Integer" temporary;        TempInteger: Record "Integer" temporary;        ActiveSession: Record "Active Session";        MemoryMappedFile: array[1000] of Codeunit "Memory Mapped File";        NoOfPSEntries: Integer;        NoOfActiveSessions: Integer;        RemainingTasksMsg: Label 'Waiting for background tasks to finish.\Remaining tasks: #1####', Comment = '#1## shows a number.';

All 209 lines

Public procedures 8 in 29

NewSessionRunCodeunitWithRecord(CodeunitId: Integer; Parameter: Text; RecordIDToRun: RecordId): Boolean17-29
NewSessionRunCodeunitWithBlob(CodeunitId: Integer; Parameter: Text; var TempBlob: Codeunit "Temp Blob"): Boolean17-29
NewSessionRunCodeunit(CodeunitId: Integer; Parameter: Text): Boolean17-29
NoOfActiveJobs(): Integer17-29
WaitForAllToFinish(TimeOutInSeconds: Integer): Boolean17-29
RunHeartbeat()17-29

All 8 procedures