[vala] Add GLib.get_num_processors
- From: Maciej Marcin Piechotka <mpiechotka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Add GLib.get_num_processors
- Date: Thu, 18 Apr 2013 10:12:32 +0000 (UTC)
commit 210964b4ada0ac7d3e7afbc6d9e5219b863d1c04
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date: Wed Apr 17 13:52:11 2013 +0200
Add GLib.get_num_processors
vapi/glib-2.0.vapi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index bae96e0..ab686c5 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1672,7 +1672,9 @@ namespace GLib {
[CCode (scope = "async")]
public delegate G ThreadFunc<G> ();
public delegate void Func<G> (G data);
-
+
+ public uint get_num_processors ();
+
[CCode (has_type_id = false)]
public enum ThreadPriority {
LOW,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]