Hi

I need to check (for debugging purposes) if current thread is main
thread. How can I do that in Vala?

I know that in GLib exists g_thread_self() and I can  use result of
that function for that purpose but in Vala's vapi it has strange
syntax that I cannot truly understand.

Thank you in advance,

m.
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to