From: TravisCI-DocBuilder Processes the current APT status. Generally used within a main loop. Closes the gsp service and frees the framebuffers. Just call it when you're done. Flushes the current framebuffers. Use this if the data within your framebuffers changes a lot and that you want to make sure everything was updated correctly. This shouldn't be needed and has a significant overhead.
@@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
#include <3ds/srv.h>
#include <3ds/os.h>
#include <3ds/synchronization.h>
+#include <3ds/thread.h>
#include <3ds/gfx.h>
#include <3ds/console.h>
#include <3ds/env.h>
diff --git a/3ds_8h_source.html b/3ds_8h_source.html
index 0f2b3f2..f5a8a5f 100644
--- a/3ds_8h_source.html
+++ b/3ds_8h_source.html
@@ -24,6 +24,7 @@
@@ -108,120 +109,122 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ac_8h_source.html b/ac_8h_source.html
index c3151c5..8b4c904 100644
--- a/ac_8h_source.html
+++ b/ac_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/am_8h.html b/am_8h.html
index d6361b6..de046e3 100644
--- a/am_8h.html
+++ b/am_8h.html
@@ -24,6 +24,7 @@
diff --git a/am_8h_source.html b/am_8h_source.html
index e730548..6035fc8 100644
--- a/am_8h_source.html
+++ b/am_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/annotated.html b/annotated.html
index 09540e9..111aaed 100644
--- a/annotated.html
+++ b/annotated.html
@@ -24,6 +24,7 @@
@@ -147,21 +148,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
CQTM_HeadTrackingInfoCoord Head tracking coordinate pair Crbtree_node_t An rbtree node
- Crbtree_t An rbtree
- CRecursiveLock A recursive lock
- Cromfs_dir RomFS directory
- Cromfs_file RomFS file
- Cromfs_header RomFS header
- CSchedulerInOutEvent Event relating to the scheduler
- CshaderInstance_s Describes an instance of either a vertex or geometry shader
- CshaderProgram_s Describes an instance of a full shader program
- Csockaddr
- Csockaddr_in
- Csockaddr_storage
- CSyscallInOutEvent Event relating to syscalls
- CtouchPosition Touch position
- CY2RU_ColorCoefficients Coefficients of the YUV->RGB conversion formula
- CY2RU_ConversionParams Structure used to configure all parameters at once
+ CY2RU_DitheringWeightParams Dithering weights
+ Cromfs_dir RomFS directory
+ Cromfs_file RomFS file
+ Cromfs_header RomFS header
+ CSchedulerInOutEvent Event relating to the scheduler
+ CshaderInstance_s Describes an instance of either a vertex or geometry shader
+ CshaderProgram_s Describes an instance of a full shader program
+ Csockaddr
+ Csockaddr_in
+ Csockaddr_storage
+ CSyscallInOutEvent Event relating to syscalls
+ CtouchPosition Touch position
+ CY2RU_ColorCoefficients Coefficients of the YUV->RGB conversion formula
+ CY2RU_ConversionParams Structure used to configure all parameters at once
diff --git a/app_launch_2source_2main_8c-example.html b/app_launch_2source_2main_8c-example.html
index 381105e..4c88bae 100644
--- a/app_launch_2source_2main_8c-example.html
+++ b/app_launch_2source_2main_8c-example.html
@@ -24,6 +24,7 @@
CY2RU_DitheringWeightParams Dithering weights
diff --git a/apt_8h.html b/apt_8h.html
index 3842b0b..999de9c 100644
--- a/apt_8h.html
+++ b/apt_8h.html
@@ -24,6 +24,7 @@
@@ -2040,7 +2041,7 @@ Variables
-
diff --git a/apt_8h_source.html b/apt_8h_source.html
index 8f434fe..f2c4560 100644
--- a/apt_8h_source.html
+++ b/apt_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/audio_2mic_2source_2main_8c-example.html b/audio_2mic_2source_2main_8c-example.html
index cac496c..e30990b 100644
--- a/audio_2mic_2source_2main_8c-example.html
+++ b/audio_2mic_2source_2main_8c-example.html
@@ -24,6 +24,7 @@
diff --git a/cam_8h.html b/cam_8h.html
index a129647..07c881b 100644
--- a/cam_8h.html
+++ b/cam_8h.html
@@ -24,6 +24,7 @@
diff --git a/cam_8h_source.html b/cam_8h_source.html
index 03e1a36..724169b 100644
--- a/cam_8h_source.html
+++ b/cam_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/cfgnor_8h.html b/cfgnor_8h.html
index 10c88df..52c42c4 100644
--- a/cfgnor_8h.html
+++ b/cfgnor_8h.html
@@ -24,6 +24,7 @@
diff --git a/cfgnor_8h_source.html b/cfgnor_8h_source.html
index ca2312d..bb5e181 100644
--- a/cfgnor_8h_source.html
+++ b/cfgnor_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/cfgu_8h.html b/cfgu_8h.html
index aaea8b9..4b8598d 100644
--- a/cfgu_8h.html
+++ b/cfgu_8h.html
@@ -24,6 +24,7 @@
diff --git a/cfgu_8h_source.html b/cfgu_8h_source.html
index dba3b90..83375d0 100644
--- a/cfgu_8h_source.html
+++ b/cfgu_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/channel_8h.html b/channel_8h.html
index 0e72ea1..4d3cdc4 100644
--- a/channel_8h.html
+++ b/channel_8h.html
@@ -24,6 +24,7 @@
diff --git a/channel_8h_source.html b/channel_8h_source.html
index 802c13c..bad8f51 100644
--- a/channel_8h_source.html
+++ b/channel_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/classes.html b/classes.html
index b6ed8e1..01e4b40 100644
--- a/classes.html
+++ b/classes.html
@@ -24,6 +24,7 @@
@@ -90,50 +91,51 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -305,7 +306,7 @@ void
diff --git a/console_8h_source.html b/console_8h_source.html
index c4ff9f9..28d4f9c 100644
--- a/console_8h_source.html
+++ b/console_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/csnd_8h.html b/csnd_8h.html
index 8594c7a..93bdea4 100644
--- a/csnd_8h.html
+++ b/csnd_8h.html
@@ -24,6 +24,7 @@
diff --git a/csnd_8h_source.html b/csnd_8h_source.html
index 047c0e5..0f811ce 100644
--- a/csnd_8h_source.html
+++ b/csnd_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/deprecated.html b/deprecated.html
index b219113..5ffee81 100644
--- a/deprecated.html
+++ b/deprecated.html
@@ -24,6 +24,7 @@
diff --git a/dir_0e005207343684f6967052d1f51a7e66.html b/dir_0e005207343684f6967052d1f51a7e66.html
index f29b50b..499ecf5 100644
--- a/dir_0e005207343684f6967052d1f51a7e66.html
+++ b/dir_0e005207343684f6967052d1f51a7e66.html
@@ -24,6 +24,7 @@
diff --git a/dir_0f128149b5f0edcc1e84fa1d13781a04.html b/dir_0f128149b5f0edcc1e84fa1d13781a04.html
index 4ee5345..093e0c6 100644
--- a/dir_0f128149b5f0edcc1e84fa1d13781a04.html
+++ b/dir_0f128149b5f0edcc1e84fa1d13781a04.html
@@ -24,6 +24,7 @@
diff --git a/dir_1b1aef9f2527d990c50369cf62d7d9a1.html b/dir_1b1aef9f2527d990c50369cf62d7d9a1.html
index e6c9a9d..af91f52 100644
--- a/dir_1b1aef9f2527d990c50369cf62d7d9a1.html
+++ b/dir_1b1aef9f2527d990c50369cf62d7d9a1.html
@@ -24,6 +24,7 @@
diff --git a/dir_317ea3797c15f4a1d9c156bc812661ca.html b/dir_317ea3797c15f4a1d9c156bc812661ca.html
index aa21f44..8270c07 100644
--- a/dir_317ea3797c15f4a1d9c156bc812661ca.html
+++ b/dir_317ea3797c15f4a1d9c156bc812661ca.html
@@ -24,6 +24,7 @@
diff --git a/dir_6dafe9e8493a4966457f520acc17aa32.html b/dir_6dafe9e8493a4966457f520acc17aa32.html
index e9fff87..b3f1eb3 100644
--- a/dir_6dafe9e8493a4966457f520acc17aa32.html
+++ b/dir_6dafe9e8493a4966457f520acc17aa32.html
@@ -24,6 +24,7 @@
diff --git a/dir_953d82d0b36b92ff36f0c21b90fa146f.html b/dir_953d82d0b36b92ff36f0c21b90fa146f.html
index c55717e..751cc74 100644
--- a/dir_953d82d0b36b92ff36f0c21b90fa146f.html
+++ b/dir_953d82d0b36b92ff36f0c21b90fa146f.html
@@ -24,6 +24,7 @@
diff --git a/dir_a31f4157c8426a01402443a71f1cf774.html b/dir_a31f4157c8426a01402443a71f1cf774.html
index cc9ed69..74c08ff 100644
--- a/dir_a31f4157c8426a01402443a71f1cf774.html
+++ b/dir_a31f4157c8426a01402443a71f1cf774.html
@@ -24,6 +24,7 @@
diff --git a/dir_d0a04a149c821e4e65be9315f86ccf56.html b/dir_d0a04a149c821e4e65be9315f86ccf56.html
index 9ec7432..cb5fc90 100644
--- a/dir_d0a04a149c821e4e65be9315f86ccf56.html
+++ b/dir_d0a04a149c821e4e65be9315f86ccf56.html
@@ -24,6 +24,7 @@
diff --git a/dir_d44c64559bbebec7f509842c48db8b23.html b/dir_d44c64559bbebec7f509842c48db8b23.html
index 135d4f5..20f83ec 100644
--- a/dir_d44c64559bbebec7f509842c48db8b23.html
+++ b/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -24,6 +24,7 @@
diff --git a/dir_d475325f6a9fe3bfc3a495c72a9e475e.html b/dir_d475325f6a9fe3bfc3a495c72a9e475e.html
index 9440198..b913301 100644
--- a/dir_d475325f6a9fe3bfc3a495c72a9e475e.html
+++ b/dir_d475325f6a9fe3bfc3a495c72a9e475e.html
@@ -24,6 +24,7 @@
@@ -133,6 +134,9 @@ Files
file synchronization.h [code] Provides synchronization locks.
+
+file thread.h [code]
+ Provides functions to use threads. file types.h [code] Various system types.
diff --git a/dsp_8h.html b/dsp_8h.html
index 5893d21..8994619 100644
--- a/dsp_8h.html
+++ b/dsp_8h.html
@@ -24,6 +24,7 @@
diff --git a/dsp_8h_source.html b/dsp_8h_source.html
index 08d158e..263079f 100644
--- a/dsp_8h_source.html
+++ b/dsp_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/enums_8h.html b/enums_8h.html
index 3476a2f..d96761a 100644
--- a/enums_8h.html
+++ b/enums_8h.html
@@ -24,6 +24,7 @@
diff --git a/enums_8h_source.html b/enums_8h_source.html
index 4bdbd52..0fe0655 100644
--- a/enums_8h_source.html
+++ b/enums_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/env_8h.html b/env_8h.html
index 0be4b67..4deb56e 100644
--- a/env_8h.html
+++ b/env_8h.html
@@ -24,6 +24,7 @@
diff --git a/env_8h_source.html b/env_8h_source.html
index 7812acb..0815a15 100644
--- a/env_8h_source.html
+++ b/env_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/examples.html b/examples.html
index 9b2a63c..a70b4cd 100644
--- a/examples.html
+++ b/examples.html
@@ -24,6 +24,7 @@
@@ -119,6 +120,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -148,19 +149,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
srv.h Service API svc.h Syscall wrappers
- synchronization.h Provides synchronization locks
- types.h Various system types
- ▼ arpa
- inet.h
- ▼ netinet
- in.h
- tcp.h
- ▼ sys
- ioctl.h
- select.h
- socket.h
- 3ds.h Central 3DS header
- netdb.h
+ poll.h
+ thread.h Provides functions to use threads
+ types.h Various system types
+ ▼ arpa
+ inet.h
+ ▼ netinet
+ in.h
+ tcp.h
+ ▼ sys
+ ioctl.h
+ select.h
+ socket.h
+ 3ds.h Central 3DS header
+ netdb.h
diff --git a/fs_8h.html b/fs_8h.html
index 0e40757..90c4076 100644
--- a/fs_8h.html
+++ b/fs_8h.html
@@ -24,6 +24,7 @@
poll.h
diff --git a/fs_8h_source.html b/fs_8h_source.html
index 21b253f..2707671 100644
--- a/fs_8h_source.html
+++ b/fs_8h_source.html
@@ -24,6 +24,7 @@
diff --git a/functions.html b/functions.html
index 9db6984..970263a 100644
--- a/functions.html
+++ b/functions.html
@@ -24,6 +24,7 @@
diff --git a/functions_a.html b/functions_a.html
index 5b63010..817eda3 100644
--- a/functions_a.html
+++ b/functions_a.html
@@ -24,6 +24,7 @@
diff --git a/functions_b.html b/functions_b.html
index 494bd55..bda1e96 100644
--- a/functions_b.html
+++ b/functions_b.html
@@ -24,6 +24,7 @@
diff --git a/functions_c.html b/functions_c.html
index 22785b8..9f2b319 100644
--- a/functions_c.html
+++ b/functions_c.html
@@ -24,6 +24,7 @@
@@ -185,9 +186,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/functions_e.html b/functions_e.html
index ae5116a..dcec099 100644
--- a/functions_e.html
+++ b/functions_e.html
@@ -24,6 +24,7 @@
diff --git a/functions_f.html b/functions_f.html
index 26fe49a..6207c20 100644
--- a/functions_f.html
+++ b/functions_f.html
@@ -24,6 +24,7 @@
diff --git a/functions_g.html b/functions_g.html
index db77372..316177e 100644
--- a/functions_g.html
+++ b/functions_g.html
@@ -24,6 +24,7 @@
diff --git a/functions_h.html b/functions_h.html
index 5caae11..bb07d58 100644
--- a/functions_h.html
+++ b/functions_h.html
@@ -24,6 +24,7 @@
diff --git a/functions_i.html b/functions_i.html
index bec0ac9..80c154e 100644
--- a/functions_i.html
+++ b/functions_i.html
@@ -24,6 +24,7 @@
diff --git a/functions_k.html b/functions_k.html
index 27bd9cf..4062e60 100644
--- a/functions_k.html
+++ b/functions_k.html
@@ -24,6 +24,7 @@
diff --git a/functions_l.html b/functions_l.html
index 9248a5c..f23eafd 100644
--- a/functions_l.html
+++ b/functions_l.html
@@ -24,6 +24,7 @@
@@ -124,9 +125,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/functions_n.html b/functions_n.html
index f1f4342..6c62da6 100644
--- a/functions_n.html
+++ b/functions_n.html
@@ -24,6 +24,7 @@
diff --git a/functions_o.html b/functions_o.html
index 92c5b70..dfb7bf7 100644
--- a/functions_o.html
+++ b/functions_o.html
@@ -24,6 +24,7 @@
diff --git a/functions_p.html b/functions_p.html
index b1d77e2..8374470 100644
--- a/functions_p.html
+++ b/functions_p.html
@@ -24,6 +24,7 @@
diff --git a/functions_r.html b/functions_r.html
index 60b4641..eccac86 100644
--- a/functions_r.html
+++ b/functions_r.html
@@ -24,6 +24,7 @@
diff --git a/functions_s.html b/functions_s.html
index 24b7849..8fd8ed0 100644
--- a/functions_s.html
+++ b/functions_s.html
@@ -24,6 +24,7 @@
diff --git a/functions_t.html b/functions_t.html
index 35fc4e7..4b1dd53 100644
--- a/functions_t.html
+++ b/functions_t.html
@@ -24,6 +24,7 @@
@@ -127,9 +128,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/functions_v.html b/functions_v.html
index f24140a..56461e5 100644
--- a/functions_v.html
+++ b/functions_v.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars.html b/functions_vars.html
index 398ec59..26fd8f5 100644
--- a/functions_vars.html
+++ b/functions_vars.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_a.html b/functions_vars_a.html
index 6bd38e8..9e7e470 100644
--- a/functions_vars_a.html
+++ b/functions_vars_a.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_b.html b/functions_vars_b.html
index 6796055..5a69f22 100644
--- a/functions_vars_b.html
+++ b/functions_vars_b.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_c.html b/functions_vars_c.html
index b641440..41def49 100644
--- a/functions_vars_c.html
+++ b/functions_vars_c.html
@@ -24,6 +24,7 @@
@@ -185,9 +186,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/functions_vars_e.html b/functions_vars_e.html
index 2c72526..749f1f3 100644
--- a/functions_vars_e.html
+++ b/functions_vars_e.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_f.html b/functions_vars_f.html
index b311ae0..1e3624b 100644
--- a/functions_vars_f.html
+++ b/functions_vars_f.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_g.html b/functions_vars_g.html
index a837d43..d8e6f9b 100644
--- a/functions_vars_g.html
+++ b/functions_vars_g.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_h.html b/functions_vars_h.html
index 1d89c70..c757668 100644
--- a/functions_vars_h.html
+++ b/functions_vars_h.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_i.html b/functions_vars_i.html
index dcd7ec4..e458941 100644
--- a/functions_vars_i.html
+++ b/functions_vars_i.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_k.html b/functions_vars_k.html
index 75c5d21..7935066 100644
--- a/functions_vars_k.html
+++ b/functions_vars_k.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_l.html b/functions_vars_l.html
index 5b56523..630dd3b 100644
--- a/functions_vars_l.html
+++ b/functions_vars_l.html
@@ -24,6 +24,7 @@
@@ -124,9 +125,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/functions_vars_n.html b/functions_vars_n.html
index 1ce1b1d..cc24492 100644
--- a/functions_vars_n.html
+++ b/functions_vars_n.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_o.html b/functions_vars_o.html
index 4010c58..2cabd31 100644
--- a/functions_vars_o.html
+++ b/functions_vars_o.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_p.html b/functions_vars_p.html
index 5f629c9..25e522a 100644
--- a/functions_vars_p.html
+++ b/functions_vars_p.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_r.html b/functions_vars_r.html
index d4df277..e6e62cc 100644
--- a/functions_vars_r.html
+++ b/functions_vars_r.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_s.html b/functions_vars_s.html
index e64a444..d3b0f0a 100644
--- a/functions_vars_s.html
+++ b/functions_vars_s.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_t.html b/functions_vars_t.html
index b5a6e03..cb7822f 100644
--- a/functions_vars_t.html
+++ b/functions_vars_t.html
@@ -24,6 +24,7 @@
@@ -127,9 +128,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
diff --git a/functions_vars_v.html b/functions_vars_v.html
index 12d3e75..cc15202 100644
--- a/functions_vars_v.html
+++ b/functions_vars_v.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_w.html b/functions_vars_w.html
index 66c4084..6e58cce 100644
--- a/functions_vars_w.html
+++ b/functions_vars_w.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_x.html b/functions_vars_x.html
index e6a910c..88eb4e4 100644
--- a/functions_vars_x.html
+++ b/functions_vars_x.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_y.html b/functions_vars_y.html
index 87648f9..62d9497 100644
--- a/functions_vars_y.html
+++ b/functions_vars_y.html
@@ -24,6 +24,7 @@
diff --git a/functions_vars_z.html b/functions_vars_z.html
index 6841879..04f1c69 100644
--- a/functions_vars_z.html
+++ b/functions_vars_z.html
@@ -24,6 +24,7 @@
diff --git a/functions_w.html b/functions_w.html
index 42900b5..8449765 100644
--- a/functions_w.html
+++ b/functions_w.html
@@ -24,6 +24,7 @@
diff --git a/functions_x.html b/functions_x.html
index 8357862..d44d097 100644
--- a/functions_x.html
+++ b/functions_x.html
@@ -24,6 +24,7 @@
diff --git a/functions_y.html b/functions_y.html
index fe92571..97a58b9 100644
--- a/functions_y.html
+++ b/functions_y.html
@@ -24,6 +24,7 @@
diff --git a/functions_z.html b/functions_z.html
index 86e767b..a5ae59d 100644
--- a/functions_z.html
+++ b/functions_z.html
@@ -24,6 +24,7 @@
diff --git a/get_system_language_2source_2main_8c-example.html b/get_system_language_2source_2main_8c-example.html
index 24b50ae..edfdd32 100644
--- a/get_system_language_2source_2main_8c-example.html
+++ b/get_system_language_2source_2main_8c-example.html
@@ -24,6 +24,7 @@
diff --git a/gfx_8h.html b/gfx_8h.html
index 3a8d970..0efaac0 100644
--- a/gfx_8h.html
+++ b/gfx_8h.html
@@ -24,6 +24,7 @@
@@ -249,7 +250,7 @@ Variables
@@ -269,7 +270,7 @@ Variables
@@ -414,7 +415,7 @@ You should always call GSP_BGR8_OES format in linear memory. This is the same as calling :
+ libctru
+ v1.0.0
+
+ |
+
Gets keys that were just pressed.
Individual keys can be checked by ORing them with this value.
CTR User Library
-Library for writing user mode arm11 code for the 3DS (CTR)
-The goal with this is to create a very straightforward interface with the 3DS's OS. It is not meant to provide higher level functions; to put things in perspective, the purpose of ctrulib would be to sit between the OS and a possible port of SDL rather than replace it.
+Library for writing user mode ARM11 code for the 3DS (CTR)
+This library aims to provide the foundations necessary to write 3DS Homebrew, and straightforwardly access the different functionalities provided by the 3DS operating system. It is not meant to provide higher level functions; to put things in perspective, the purpose of libctru would be to sit between the OS and a possible port of SDL rather than replace it.
ctrulib is just a library and needs a toolchain to function. We built ctrulib to be used in conjunction with devkitARM. You may find instructions on how to install devkitARM on the devkitPro Wiki.
-The most recent devkitARM (r44) includes 3DS support and a prebuilt libctru.
-To keep up to date with the most recent changes you'll want to checkout ctrulib, build it and install it.
+libctru is just a library and needs a toolchain to function. devkitARM (created by devkitPro) is the officially supported ARM cross compiling toolchain, which provides the framework necessary to supply a usable POSIX-like environment, with working C and C++ standard libraries; as well as the tools required to compile homebrew in the 3DSX format, and assemble GPU shaders. The use of other ARM toolchains is severely discouraged.
+The most recent version of devkitARM (r45 at the time of writing) is always recommended. The installers/setup scripts supplied by devkitPro install a prebuilt copy of the latest stable version of libctru, which is recommended for general use. Please note that devkitPro has a policy of keeping legacy code to a minimum, so a library upgrade may result in older code failing to compile or behave properly. Developers are encouraged to keep their code working with the latest versions of the tools and libraries.
+You may find instructions on how to install devkitARM on the devkitPro Wiki.
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
diff --git a/inet_8h_source.html b/inet_8h_source.html index 34aa92f..1053a8e 100644 --- a/inet_8h_source.html +++ b/inet_8h_source.html @@ -24,6 +24,7 @@
+ libctru
+ v1.0.0
+
+ |
+
No changelog available.
+The processor with ID 1 is the system processor. To enable multi-threading on this core you need to call APT_SetAppCpuTimeLimit at least once with a non-zero value.
Since a thread is considered as a waitable object, you can use svcWaitSynchronization and svcWaitSynchronizationN to join with it.
stack_top's
address low 3 bits to make sure it is 0x8-bytes aligned. Exits the current thread.
This will trigger a state change and hence release all svcWaitSynchronization operations. It means that you can join a thread by calling
s32 svcGetProcessorID | ( | +void | ) |
u64 svcGetSystemTick | ( | +void | ) |
Provides synchronization locks. More...
- +#include <sys/lock.h>
Go to the source code of this file.
-Data Structures | |
struct | RecursiveLock |
A recursive lock. More... | |
Macros | |
@@ -132,10 +127,14 @@ Macros |
Typedefs | |
-typedef s32 | LightLock |
A light lock. | |
+typedef _LOCK_T | LightLock |
A light lock. | |
+typedef _LOCK_RECURSIVE_T | RecursiveLock |
A recursive lock. | |
Functions | static bool | __strex (s32 *addr, s32 val) |
Performs a strex operation. More... | |
void | LightLock_Init (LightLock *lock) |
void | LightLock_Init (LightLock *lock) |
Initializes a light lock. More... | |
void | LightLock_Lock (LightLock *lock) |
void | LightLock_Lock (LightLock *lock) |
Locks a light lock. More... | |
int | LightLock_TryLock (LightLock *lock) |
int | LightLock_TryLock (LightLock *lock) |
Attempts to lock a light lock. More... | |
void | LightLock_Unlock (LightLock *lock) |
void | LightLock_Unlock (LightLock *lock) |
Unlocks a light lock. More... | |
void | RecursiveLock_Init (RecursiveLock *lock) |
void | RecursiveLock_Init (RecursiveLock *lock) |
Initializes a recursive lock. More... | |
void | RecursiveLock_Lock (RecursiveLock *lock) |
void | RecursiveLock_Lock (RecursiveLock *lock) |
Locks a recursive lock. More... | |
int | RecursiveLock_TryLock (RecursiveLock *lock) |
int | RecursiveLock_TryLock (RecursiveLock *lock) |
Attempts to lock a recursive lock. More... | |
void | RecursiveLock_Unlock (RecursiveLock *lock) |
void | RecursiveLock_Unlock (RecursiveLock *lock) |
Unlocks a recursive lock. More... | |
+ libctru
+ v1.0.0
+
+ |
+
Provides functions to use threads. +More...
+#include <3ds/types.h>
#include <3ds/result.h>
#include <3ds/synchronization.h>
#include <3ds/svc.h>
Go to the source code of this file.
++Typedefs | |
+typedef struct Thread_tag * | Thread |
libctru thread handle type | |
+Functions | |
Thread | threadCreate (ThreadFunc entrypoint, void *arg, size_t stack_size, int prio, int affinity, bool detached) |
Creates a new libctru thread. More... | |
Handle | threadGetHandle (Thread thread) |
Retrieves the OS thread handle of a libctru thread. More... | |
int | threadGetExitCode (Thread thread) |
Retrieves the exit code of a finished libctru thread. More... | |
void | threadFree (Thread thread) |
Frees a finished libctru thread. More... | |
Result | threadJoin (Thread thread, u64 timeout_ns) |
Waits for a libctru thread to finish (or returns immediately if it is already finished). More... | |
Thread | threadGetCurrent (void) |
Retrieves the libctru thread handle of the current thread. More... | |
void | threadExit (int rc) __attribute__((noreturn)) |
Exits the current libctru thread with an exit code (not usable from the main thread). More... | |
Provides functions to use threads.
+Thread threadCreate | +( | +ThreadFunc | +entrypoint, | +
+ | + | void * | +arg, | +
+ | + | size_t | +stack_size, | +
+ | + | int | +prio, | +
+ | + | int | +affinity, | +
+ | + | bool | +detached | +
+ | ) | ++ |
Creates a new libctru thread.
+entrypoint | The function that will be called first upon thread creation |
arg | The argument passed to entrypoint |
stack_size | The size of the stack that will be allocated for the thread (will be rounded to a multiple of 8 bytes) |
prio | Low values gives the thread higher priority. For userland apps, this has to be within the range [0x18;0x3F]. The main thread usually has a priority of 0x30, but not always. Use svcGetThreadPriority() if you need to create a thread with a priority that is explicitly greater or smaller than that of the main thread. |
affinity | The ID of the processor the thread should be ran on. Processor IDs are labeled starting from 0. On Old3DS it must be <2, and on New3DS it must be <4. Pass -1 to execute the thread on all CPUs and -2 to execute the thread on the default CPU (read from the Exheader). |
detached | When set to true, the thread is automatically freed when it finishes. |
void threadExit | +( | +int | +rc | ) | ++ |
Exits the current libctru thread with an exit code (not usable from the main thread).
+rc | Exit code |
void threadFree | +( | +Thread | +thread | ) | ++ |
Frees a finished libctru thread.
+thread | libctru thread handle |
Thread threadGetCurrent | +( | +void | +) | ++ |
Retrieves the libctru thread handle of the current thread.
+int threadGetExitCode | +( | +Thread | +thread | ) | ++ |
Retrieves the exit code of a finished libctru thread.
+thread | libctru thread handle |
Retrieves the OS thread handle of a libctru thread.
+thread | libctru thread handle |
Waits for a libctru thread to finish (or returns immediately if it is already finished).
+thread | libctru thread handle |
timeout_ns | Timeout in nanoseconds. Pass U64_MAX if a timeout isn't desired |
+ libctru
+ v1.0.0
+
+ |
+
+ libctru
+ v1.0.0
+
+ |
+