The problem is, OpenGL context (at least in window)
can be made current only to one thread at a time.
I`ve made a work around, detaching OpenGL from current
thread right after set_gfx_mode, and attaching to
other thread on it creation and deletion.
A little bit clumsy and (of course incompatible, using
wglMakeCurrent function) but it works for me.
I think there is should be some way of controlling