lxn / walk

A Windows GUI toolkit for the Go Programming Language
Other
6.8k stars 885 forks source link

How do I use multithreading? #646

Closed BIBBIDIBA closed 4 years ago

BIBBIDIBA commented 4 years ago

window.Run() after the thread can not be used, how to solve?

BIBBIDIBA commented 4 years ago

@lxn I have a program that I want to execute immediately after window.Run().

lxn commented 4 years ago

You could probably do it like this.

BIBBIDIBA commented 4 years ago

@lxn Failed and the application did not respond directly. Is there any other way?