[Vala] How to check if current thread is main thread?
- From: "marcin saepia net" <marcin saepia net>
- To: vala-list gnome org
- Subject: [Vala] How to check if current thread is main thread?
- Date: Fri, 6 Jul 2012 08:11:23 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]