# platWin32::Win32YieldPlatformService

    sys::Obj
      sys::Virtual
        sys::Component
          sys::Service
            sys::PlatformService
              platWin32::Win32PlatformService
                platWin32::Win32YieldPlatformService

`public class Win32YieldPlatformService`

Win32 Platform Service demonstrating use of yield APIs. Instead of calling Sys.sleep() each App execute cycle,

VM will exit with Err.yield code and sleep will be called by native code in main.c, followed by a call to resume().

Note that yield is NOT required for Win32 - this is just sample code.

yield

  `public virtual override void yield(long yieldTime)`

yieldRequired

  `public virtual override bool yieldRequired()`