34 Commits (6e02c67a9f725d44308d3a6b0781d3969fa4e353)

Author SHA1 Message Date
Andrea Ciliberti ead0dfe5b8 init function removal 2 years ago
Andrea Ciliberti d31966b65d Remove unneeded init functions 2 years ago
Andrea Ciliberti d256d8a940 Update to latest ctru-sys and toolchain 2 years ago
Ian Chamberlain dfa03fb324
Fix clippy lints / rustc warnings 3 years ago
Ian Chamberlain 8b38f9c7ac
Add pthread_atfork 3 years ago
Ian Chamberlain c2458e4e0e
Add pthread_condattr functions 3 years ago
Mark Drobnak f93ccc1a95
Fix link errors by using inlining 3 years ago
Mark Drobnak b84e4e1ed0
Rename SendPtr to ShareablePtr because it implements Sync as well 3 years ago
Mark Drobnak 34b9a1826a
Implement support for "retval" in pthread_join 3 years ago
Mark Drobnak f95f4554a1
Refactor thread tracking to avoid using svcGetThreadList 3 years ago
Mark Drobnak b2689d5254
Refactor into multiple modules 3 years ago
AzureMarker acb2736f67
Avoid using svcGetThreadList when getting default pthread attr 3 years ago
AzureMarker 9dbe184b1f
Rename "ideal_processor" to "processor_id" 3 years ago
AzureMarker 88d12c91ad
Implement pthread_getprocessorid_np 3 years ago
AzureMarker cac16d639c
Replace pthread_getpriority with more standard version (and add set fn) 3 years ago
AzureMarker d1815bcb9b
Add pthread_self and improve thread function error handling 3 years ago
AzureMarker 717938f682
Rename affinity to "ideal processor" 3 years ago
AzureMarker ba5c5d787e
Change to more standard priority function interfaces 3 years ago
AzureMarker 27a5601020
Change estimated error code when thread spawning fails 3 years ago
AzureMarker 1704505614
Deallocate the closure if thread spawning failed 3 years ago
AzureMarker db26a42401
Implement pthread extensions and improve pthread_create 3 years ago
Ian Chamberlain 5d36aefb44
Add stub pthread_sigmask implementation 3 years ago
AzureMarker c82ce62c9b
Add back basic pthread threading support 3 years ago
Andrea Ciliberti 87eceaf5ef Use ctru-sys rather than re-declarations 3 years ago
AzureMarker a7ff3bc394
Fix pthread_cond_timedwait from sleeping for about 52 years 3 years ago
AzureMarker fdd1b58452
Fix reentrant locking behavior in thread keys 3 years ago
AzureMarker 89cfb145b7
Make thread keys impl thread-safe and handle invalid keys 3 years ago
Andrea Ciliberti 207b108914 Removed thread spawn support in favor of ctru threads 3 years ago
Andrea Ciliberti cea081ac27 Guess it works now 3 years ago
Andrea Ciliberti 69eb0774f8 Testing rwlock impl 3 years ago
AzureMarker 04a89ae72c
Add init method to force linking 3 years ago
Andrea Ciliberti 98a8b638af Fixed warnings from clippy and formatted 3 years ago
Meziu 74acb03a72 Working state 3 years ago