> Begin forwarded message:
> 
> From: Pietro Gagliardi <andl...@lostsig.net>
> Subject: Re: [go-nuts] lxn/walk goroutine blocks
> Date: October 11, 2016 at 7:48:04 AM EDT
> To: Tamás Gulácsi <tgulacs...@gmail.com>
> 
> That would mean lxn/walk is doing initialization on the init() thread, 
> because Windows does not care which thread you use for GUI stuff, and in fact 
> lets you do GUI stuff on multiple threads at once. (You just can't *cross* 
> threads; if you call CreateWindow() on a thread, you have to use that window 
> from that same thread, and any other thread can only SendMessage() or 
> PostMessage() to it.)
>> On Oct 11, 2016, at 3:51 AM, Tamás Gulácsi <tgulacs...@gmail.com> wrote:
>> 
>> I suspect that the main thread has to communicate with the gui libs. This is 
>> a common restrictio.
>> Live with it: do the other stuff in a goroutine.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to