github.com/Seikaijyu/gio@v0.0.1/app/os_darwin.m (about)

     1  // SPDX-License-Identifier: Unlicense OR MIT
     2  
     3  #import <Foundation/Foundation.h>
     4  
     5  #include "_cgo_export.h"
     6  
     7  void gio_wakeupMainThread(void) {
     8  	dispatch_async(dispatch_get_main_queue(), ^{
     9  		gio_dispatchMainFuncs();
    10  	});
    11  }