Source/Packages

Runtime.NativeRegionFrame

packages/execution/src/Runtime/NativeRegionFrame.alpha

321 lines25 declarations13.0 KiBSHA-256 62648683cf5f

def · lines 177–211

frameNativeIO

Full file
177def frameNativeIO =
178  (lambda unrestricted send : Nat .
179    (lambda unrestricted descriptor : (family NativePhysicalOperand) .
180      (lambda unrestricted offset : Nat .
181        (lambda unrestricted extent : Nat .
182          (lambda unrestricted timeout : (family NativePhysicalOperand) .
183            (lambda unrestricted attempts : (family NativePhysicalOperand) .
184              (lambda unrestricted slot : Nat .
185                (lambda unrestricted tail : (family NativePhysicalCommands) .
186                  (nativeLaunchRecipeCommand
187                    (nat-eliminate
188                      (lambda unrestricted n : Nat . (family NativePhysicalOperation))
189                      (nativeSocketRead
190                        descriptor
191                        (frameNativeState offset)
192                        (nativeLaunchRecipeImmediate extent)
193                        timeout
194                        attempts
195                        (nativeLaunchRecipeStore slot))
196                      (lambda unrestricted n : Nat .
197                        (lambda unrestricted ignored : (family NativePhysicalOperation) .
198                          (nativeSocketWrite
199                            descriptor
200                            (frameNativeState offset)
201                            (nativeLaunchRecipeImmediate extent)
202                            timeout
203                            attempts
204                            (nativeLaunchRecipeStore slot))))
205                      send)
206                    b"frame-stream"
207                    (nativeLaunchRecipeAssertEqual
208                      (nativeLaunchRecipeSlotValue slot)
209                      (nativeLaunchRecipeImmediate extent)
210                      b"frame-stream-count"
211                      tail))))))))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.