summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.h (unfollow)
Commit message (Expand)AuthorFilesLines
2024-02-14kernel: add and enable system suspend typeLiam1-1/+3
2023-12-23kernel: instantiate memory separately for each guest processLiam1-5/+1
2023-12-07kernel: implement light IPCLiam1-0/+7
2023-12-04core: refactor emulated cpu core activationLiam1-21/+8
2023-11-25arm: Implement native code execution backendLiam1-0/+16
2023-10-22kernel: update KProcessLiam1-0/+1
2023-07-01kernel: SynchronizeMorph1-0/+10
2023-06-22Remove memory allocations in some hot pathsKelebek11-1/+2
2023-06-17k_thread: Use a mutex and cond_var to sync boollat9nq1-1/+3
2023-04-30kernel: remove general boost listsLiam1-6/+7
2023-03-24memory: rename global memory references to application memoryLiam1-0/+4
2023-03-22kernel: use KTypedAddress for addressesLiam1-27/+31
2023-03-13kernel: convert KThread to new styleLiam1-290/+254
2023-03-13kernel: remove kernel_Liam1-6/+6
2023-03-13kernel: convert KPort, KSessionLiam1-0/+1
2023-03-08kernel: clone fpu status on CreateThreadLiam1-0/+2
2023-03-01kernel: be more careful about kernel address keysLiam1-2/+12
2023-03-01kernel: refactor priority inheritance to represent locks as C++ objectsLiam1-28/+137
2023-02-21service: refactor server architectureLiam1-0/+4
2023-02-13kernel: use GetCurrentProcessLiam1-0/+2
2023-01-30Move to Clang Format 15Levi Behunin1-5/+3
2023-01-24kernel: split SetAddressKey into user and kernel variantsLiam1-2/+20
2023-01-23kernel: fix incorrect locking order in suspensionLiam1-2/+0
2022-12-19kernel: remove TimeManagerLiam1-3/+5
2022-12-18kernel: add KHardwareTimerLiam1-6/+10
2022-12-05kernel/thread: Ensure stack_top and argument are always initializedLioncash1-2/+2
2022-11-04service_thread: register service threads to the logical owner processLiam1-1/+1
2022-10-25kernel: refactor dummy thread wakeupsLiam1-4/+4
2022-10-19core: hle: kernel: k_thread: Implement thread termination DPC.bunnei1-0/+4
2022-07-15kernel: fix single-core preemption pointsLiam1-1/+0
2022-07-15kernel: fix issues with single core modeLiam1-24/+0
2022-07-15kernel: use KScheduler from mesosphereLiam1-0/+5
2022-07-02common/fiber: make fibers easier to useLiam1-2/+1
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-31/+30
2022-06-23kernel: make current thread pointer thread localLiam1-0/+1
2022-06-18kernel: wait for threads to stop on pauseLiam1-0/+2
2022-06-02core/debugger: Support reading guest thread namesLiam1-0/+10
2022-06-01core/debugger: Improved stepping mechanism and misc fixesLiam1-0/+15
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
2022-04-12core: hle: kernel: k_thread: Rework dummy thread waiting.bunnei1-4/+6
2022-04-12hle: kernel: Use std::mutex instead of spin locks for most kernel locking.bunnei1-1/+2
2022-04-04k_thread: Fix data racelat9nq1-1/+2
2022-03-15core: hle: kernel: k_thread: Update to reflect tree changes.bunnei1-3/+3
2022-01-22hle: kernel: KThread: Ensure host (dummy) threads block on locking.bunnei1-0/+13
2022-01-21hle: kernel: KThread: Decrease DummyThread priority to ensure it is never scheduled.bunnei1-0/+1
2022-01-21hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type.bunnei1-3/+3
2022-01-15core: hle: kernel: KThread: Integrate with KWorkerTask and implement DoWorkerTaskImpl.bunnei1-1/+6
2022-01-15core: hle: kernel: KThread: Replace Suspend with UpdateState & various updates.bunnei1-2/+2
2021-12-31core: hle: kernel: Implement thread pinning.bunnei1-1/+5
2021-12-07hle: kernel: k_thread: Rename sleeping_queue -> wait_queue.bunnei1-6/+2
2021-12-07hle: kernel: k_thread: Treat dummy threads as a special type.bunnei1-0/+1
2021-12-07hle: kernel: Add a flag for indicating that the kernel is currently shutting down.bunnei1-0/+4
2021-12-07hle: kernel: Cleanup to match coding style.bunnei1-2/+2
2021-12-07hle: kernel: KThread: Migrate to updated KThreadQueue (part 1).bunnei1-2/+2
2021-12-07hle: kernel: KThread: Remove tracking of sync object from threads.bunnei1-12/+0
2021-12-07hle: kernel: Update KThreadQueue and migrate KSynchronizationObject.bunnei1-0/+27
2021-12-07core: hle: kernel: Disable dispatch count tracking on single core.bunnei1-3/+8
2021-12-07core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.bunnei1-1/+1
2021-12-07core: hle: kernel: k_thread: Add KScopedDisableDispatch.bunnei1-0/+31
2021-08-26Revert "kernel: Various improvements to scheduler"bunnei1-36/+0
2021-08-14core: hle: kernel: Disable dispatch count tracking on single core.bunnei1-3/+8
2021-08-07core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.bunnei1-1/+1
2021-08-07core: hle: kernel: k_thread: Add KScopedDisableDispatch.bunnei1-0/+31
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph1-1/+1
2021-05-29kernel: Add missing override specifiersLioncash1-5/+5
2021-05-08kernel: Eliminate variable shadowingLioncash1-3/+3
2021-05-06hle: kernel: Rename Process to KProcess.bunnei1-8/+8
2021-05-06hle: kernel: Remove deprecated Object class.bunnei1-15/+0
2021-05-06hle: kernel: Migrate KThread to KAutoObject.bunnei1-57/+43
2021-04-12k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()Lioncash1-1/+1
2021-03-21hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.bunnei1-2/+2
2021-03-06hle: kernel: KThread: Rework dummy threads & fix memory leak.bunnei1-4/+20
2021-03-06Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei1-8/+2
2021-02-27core: Switch to unique_ptr for usage of Common::Fiber.bunnei1-2/+8
2021-01-29yuzu: debugger: Ignore HLE threads.bunnei1-0/+5
2021-01-29hle: kernel: KScheduler: Introduce thread context_guard.bunnei1-0/+1
2021-01-29hle: kernel: Recode implementation of KThread to be more accurate.bunnei1-282/+308
2021-01-29hle: kernel: KThread: Clean up thread priorities.bunnei1-22/+0
2021-01-29hle: kernel: KThread: Reorganize thread priority defaults.bunnei1-9/+3
2021-01-29hle: kernel: KThread: Fix ThreadType definition.bunnei1-4/+7
2021-01-29hle: kernel: Move single core "phantom mode" out of KThread.bunnei1-9/+0
2021-01-29hle: kernel: KThread: Remove thread types that do not exist.bunnei1-13/+2
2021-01-29core: hle: kernel: Rename Thread to KThread.bunnei1-33/+32
2021-01-11hle: kernel: thread: Preserve thread wait reason for debugging only.bunnei1-0/+21
2021-01-11core: hle: Integrate new KConditionVariable and KAddressArbiter implementations.bunnei1-121/+197
2021-01-11hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.bunnei1-41/+34
2021-01-11core: hle: kernel: Update KSynchronizationObject.bunnei1-85/+46
2020-12-06hle: kernel: Thread: Various style fixes based on code review feedback.bunnei1-22/+25
2020-12-06hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei1-27/+80
2020-12-06hle: kernel: Port KAffinityMask from Mesosphere.bunnei1-3/+3
2020-11-29hle: kernel: thread: Remove unused "Running" state.bunnei1-1/+0
2020-11-29hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.bunnei1-5/+0
2020-10-21Revert "core: Fix clang build"bunnei1-3/+3
2020-10-18core: Fix clang buildLioncash1-3/+3
2020-07-16kernel/thread: Remove unimplemented function prototypeLioncash1-2/+0
2020-07-15kernel/thread: Remove global GetCurrentThread()Lioncash1-5/+0
2020-06-27Kernel: Correct Host Context on Threads and Scheduler.Fernando Sahmkow1-1/+1
2020-06-27General: Cleanup legacy code.Fernando Sahmkow1-55/+1
2020-06-27HLE_IPC: Correct HLE Event behavior on timeout.Fernando Sahmkow1-0/+9
2020-06-27Thread: Release the ARM Interface on exitting.Fernando Sahmkow1-0/+5
2020-06-27General: Move ARM_Interface into Threads.Fernando Sahmkow1-1/+7
2020-06-27SingleCore: Move Host Timing from a sepparate thread to main cpu thread.Fernando Sahmkow1-0/+9
2020-06-27General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running.Fernando Sahmkow1-0/+18
2020-06-27Kernel: Rewind on SVC change.Fernando Sahmkow1-0/+10
2020-06-27Kernel: Preempt Single core on redudant yields.Fernando Sahmkow1-4/+5
2020-06-27Scheduler: Correct yields.Fernando Sahmkow1-0/+4
2020-06-27SVC: Correct SetThreadActivity.Fernando Sahmkow1-8/+14
2020-06-27SCC: Small corrections to CancelSynchronizationFernando Sahmkow1-0/+9
2020-06-27SVC: Correct svcWaitForAddress and svcSignalToAddress.Fernando Sahmkow1-0/+9
2020-06-27Kernel: Correct Signal on Thread Death and Setup Sync Objects on Thread for DebuggingFernando Sahmkow1-7/+7
2020-06-27Core: Correct HLE Event Callbacks and other issues.Fernando Sahmkow1-7/+9
2020-06-27SVC: Correct SendSyncRequest.Fernando Sahmkow1-29/+53
2020-06-27SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLockFernando Sahmkow1-2/+15
2020-06-27SVC: Correct GetThreadPriority, SetThreadPriority, GetThreadCoreMask, SetThreadCoreMask, GetCurrentProcessorNumberFernando Sahmkow1-2/+1
2020-06-27SVC: Correct CreateThread, StartThread, ExitThread, SleepThread.Fernando Sahmkow1-4/+8
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow1-14/+67
2020-03-03core: Implement separate A32/A64 ARM interfaces.bunnei1-6/+16
2020-02-22Kernel: Rename ThreadCallbackHandleTable and Setup Thread Ids on Kernel.Fernando Sahmkow1-1/+5
2020-02-11Kernel: Refactor synchronization to better match REFernando Sahmkow1-0/+1
2020-02-11Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.Fernando Sahmkow1-11/+11
2019-11-25kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei1-19/+20
2019-11-16Kernel: Correct Cancel Synchronization.Fernando Sahmkow1-0/+9
2019-10-15Kernel Thread: Cleanup THREADPROCESSORID_DONT_UPDATE.Fernando Sahmkow1-3/+0
2019-10-15Kernel: Address Feedback 2Fernando Sahmkow1-6/+3
2019-10-15Kernel: Address Feedback.Fernando Sahmkow1-4/+12
2019-10-15Kernel: Corrections to Wait Objects clearing in which a thread could still be signalled after a timeout or a cancel.Fernando Sahmkow1-0/+3
2019-10-15Kernel: Clang FormatFernando Sahmkow1-1/+1
2019-10-15Scheduler: Implement Yield Count and Core migration on Thread Preemption.Fernando Sahmkow1-0/+9
2019-10-15Scheduler: Add protections for Yield bombingFernando Sahmkow1-3/+3
2019-10-15Kernel: Style and CorrectionsFernando Sahmkow1-5/+10
2019-10-15Addapt thread class to the new SchedulerFernando Sahmkow1-1/+54
2019-07-04kernel/process: Decouple TLS handling from threadsLioncash1-15/+1
2019-04-29kernel/thread: Update thread processor ID flagsLioncash1-6/+15
2019-04-17kernel/thread: Unify wait synchronization typesLioncash1-15/+13
2019-04-17kernel/svc: Migrate svcCancelSynchronization behavior to a thread functionLioncash1-3/+9
2019-04-15svc: Specify handle value in thread's nameLioncash1-0/+5
2019-04-15kernel/thread: Remove BoostPriority()Lioncash1-6/+0
2019-04-14kernel/thread: Remove unused guest_handle member variableLioncash1-7/+0
2019-04-11kernel: Make handle type declarations constexprLioncash1-1/+1
2019-04-02kernel/thread: Make AllWaitObjectsReady() a const qualified member functionLioncash1-1/+1
2019-04-02kernel/wait_object: Make ShouldWait() take thread members by pointer-to-constLioncash1-1/+1
2019-04-01kernel/thread: Make parameter of GetWaitObjectIndex() const qualifiedLioncash1-1/+1
2019-03-20Add CondVar Thread State.Fernando Sahmkow1-1/+2
2019-03-16kernel/thread: Move thread exiting logic from ExitCurrentThread to svcExitThreadLioncash1-5/+0
2019-03-16kernel/thread: Migrate WaitCurrentThread_Sleep into the Thread interfaceLioncash1-5/+3
2019-03-16kernel/thread: Expand documentation of nominal_priority and current_priorityLioncash1-2/+8
2018-12-28kernel: Rename 'default' CPU core to 'ideal' coreLioncash1-6/+6
2018-12-28kernel/thread: Move process thread initialization into process.cppLioncash1-11/+0
2018-12-19kernel/thread: Make thread_id a 64-bit valueLioncash1-2/+2
2018-12-19Moved backtrace to ArmInterfaceDavid Marcec1-5/+0
2018-12-04svc: Implement SetThreadActivity (thread suspension)Luke Street1-0/+14
2018-12-03Print backtrace on svcBreakDavid Marcec1-0/+5
2018-11-22scheduler: Add explanations for YieldWith and WithoutLoadBalancingZach Hilman1-4/+0
2018-11-19svc: Implement yield types 0 and -1Zach Hilman1-0/+5
2018-11-14kernel/thread: Deduplicate scheduler switching codeLioncash1-0/+2
2018-10-26svc: Implement svcGetInfo command 0xF0000002Lioncash1-1/+10
2018-10-10kernel/thread: Use a regular pointer for the owner/current processLioncash1-4/+4
2018-10-05thread: Make the scheduler pointer a regular pointerbalika0111-1/+1
2018-10-04kernel/thread: Make all instance variables privateLioncash1-35/+181
2018-09-21thread/process: Move TLS slot marking/freeing to the process classLioncash1-1/+12
2018-09-21kernel/thread: Use owner_process when setting the page table in SetupMainThread()Lioncash1-1/+1
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-1/+1
2018-09-13kernel/thread: Include thread-related enums within the kernel namespaceLioncash1-6/+6
2018-08-29kernel: Eliminate kernel global stateLioncash1-14/+8
2018-08-25core: Namespace all code in the arm subdirectory under the Core namespaceLioncash1-1/+1
2018-08-04kernel/thread: Fix potential crashes introduced in 26de4bb521b1ace7af76eff4f6956cb23ac0d58cLioncash1-0/+2
2018-08-02kernel: Move object class to its own source filesLioncash1-1/+1
2018-08-01kernel/thread: Remove unimplemented function prototypeLioncash1-6/+0
2018-07-31kernel: Remove unnecessary includesLioncash1-3/+2
2018-07-21CPU: Save and restore the TPIDR_EL0 system register on every context switch.Subv1-0/+9
2018-07-20thread: Convert ThreadStatus into an enum classLioncash1-14/+14
2018-06-22Run clang-format on PR.Michael Scire1-2/+2
2018-06-22Kernel/Arbiters: HLE is atomic, adjust code to reflect that.Michael Scire1-1/+0
2018-06-21Kernel/Arbiters: Initialize arb_wait_address in thread struct.Michael Scire1-1/+1
2018-06-21Kernel/Arbiters: Mostly implement SignalToAddressMichael Scire1-2/+4
2018-06-21Kernel/Arbiters: Implement WaitForAddressMichael Scire1-2/+4
2018-06-21Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs.Michael Scire1-0/+1
2018-05-11thread: Rename mask to affinity_masks.bunnei1-1/+1
2018-05-11thread: Implement ChangeCore function.bunnei1-0/+6
2018-05-11core: Implement multicore support.bunnei1-0/+4
2018-04-23Kernel: Implemented mutex priority inheritance.Subv1-0/+15
2018-04-21Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOsSubv1-1/+1
2018-04-21Kernel: Remove unused ConditionVariable class.Subv1-6/+0
2018-04-21Kernel: Remove old and unused Mutex code.Subv1-7/+0
2018-04-21Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.Subv1-1/+5
2018-03-19thread: Add THREADSTATUS_WAIT_HLE_EVENT, remove THREADSTATUS_WAIT_ARB.bunnei1-1/+1
2018-02-18kernel: Use Scheduler class for threading.bunnei1-15/+0
2018-02-18kernel: Remove unused address_arbiter code.bunnei1-12/+0
2018-02-18 Kernel/IPC: Add a small delay after each SyncRequest to prevent thread starvation.Subv1-0/+1
2018-01-10Threads: Added enum values for the Switch's 4 cpu cores and implemented svcGetInfo(AllowedCpuIdBitmask)Subv1-4/+9
2018-01-09Kernel: Allow chaining WaitSynchronization calls inside a wakeup callback.Subv1-3/+7
2017-12-31thread: Keep track of the initially created handle.bunnei1-0/+3
2017-12-29kernel: Various 64-bit fixes in memory/process/threadbunnei1-2/+2
2017-10-01Kernel/Thread: Added a helper function to get a thread's command buffer VAddr.Subv1-0/+6
2017-09-30kernel: Various threading fixes to support 64-bit addressing.bunnei1-5/+5
2017-09-30Fixed type conversion ambiguityHuw Pascoe1-7/+7
2017-09-28Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken.Subv1-3/+12
2017-09-27Kernel/Thread: Allow specifying which process a thread belongs to when creating it.Subv1-6/+9
2017-05-30Kernel: Move WaitObject to a separate fileYuri Kunde Schlesner1-0/+1
2017-05-25Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner1-1/+1
2017-02-27Core: Remove unnecessary include in thread.hYuri Kunde Schlesner1-1/+0
2017-01-06Kernel: Don't attempt to yield execution in SleepThread(0) if there are no available threads to run.Subv1-0/+5
2017-01-05Kernel: Remove some unused functions.Subv1-9/+0
2017-01-05Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on.Subv1-9/+7
2017-01-04Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.Subv1-9/+10
2017-01-04Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexesSubv1-0/+9
2017-01-04Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.Subv1-2/+2
2016-12-22ThreadContext: Move from "core" to "arm_interface".bunnei1-1/+2
2016-12-22core: Remove HLE module, consolidate code & various cleanups.bunnei1-1/+0
2016-12-17Thread: remove the thread from the thread list when exitingwwylele1-0/+5
2016-12-14Fixed the codestyle to match our clang-format rules.Subv1-4/+6
2016-12-09WaitSynch: Removed unused variables and reduced SharedPtr copies.Subv1-2/+3
2016-12-04Threading: Added some utility functions and const correctness.Subv1-3/+16
2016-12-04Threading: Reworked the way our scheduler works.Subv1-6/+16
2016-09-22implement wait tree widgetwwylele1-0/+5
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-4/+0
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-32/+46
2016-05-07Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap.Subv1-2/+2
2015-09-10General: Fix up doxygen commentsLioncash1-1/+0
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot1-0/+1
2015-06-17kernel: Fix svcWaitSynch to always acquire requested wait objects.bunnei1-9/+5
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-1/+1
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner1-1/+0
2015-05-12Thread: Remove the idle threadYuri Kunde Schlesner1-17/+0
2015-05-12Core/Memory: Add TLS support for creating up to 300 threadsSubv1-1/+1
2015-05-11Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadSubv1-0/+2
2015-05-11Thread: Correctly set main thread initial stack positionYuri Kunde Schlesner1-2/+1
2015-05-11fixup! Set the TLS address in the schedulerSubv1-0/+2
2015-05-11Core/Memory: Give every emulated thread it's own TLS area.Subv1-0/+6
2015-05-09Kernel: Remove unused g_main_thread variableYuri Kunde Schlesner1-2/+0
2015-04-10Kernel: Implemented priority inheritance for mutexes.bunnei1-0/+6
2015-04-10Thread: Implement priority boost for starved threads.bunnei1-10/+15
2015-04-10Kernel: Fixed default thread priority.bunnei1-4/+3
2015-02-10Scheduler refactor Pt. 1Kevin Hartman1-33/+82
2015-02-02Kernel: Make WaitObjects share ownership of Threads waiting on themYuri Kunde Schlesner1-0/+2
2015-02-02Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner1-0/+1
2015-02-02Mutex: Replace g_mutex_held_locks with a set inside ThreadYuri Kunde Schlesner1-2/+8
2015-02-02Kernel: Use separate Handle tables for CoreTiming userdataYuri Kunde Schlesner1-0/+3
2015-02-02Thread: Modernize two functions that slipped through previous rebasesYuri Kunde Schlesner1-8/+7
2015-01-30Kernel: Mark all appropriate kernel objects as "final"Yuri Kunde Schlesner1-2/+1
2015-01-22Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup.bunnei1-7/+14
2015-01-22Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.bunnei1-2/+2
2015-01-22WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.bunnei1-1/+1
2015-01-22Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a WaitObject safely.bunnei1-1/+1
2015-01-22AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that made no sense.bunnei1-9/+8
2015-01-22Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.bunnei1-31/+10
2015-01-22WaitSynchronizationN: Refactor to fix several bugsbunnei1-2/+2
2015-01-22Kernel: Separate WaitSynchronization into Wait and Acquire methods.bunnei1-1/+2
2015-01-22WaitSynchronizationN: Implement return valuesbunnei1-16/+42
2015-01-22Thread: Keep track of multiple wait objects.bunnei1-3/+3
2015-01-22Kernel: Added WaitObject and changed "waitable" objects inherit from it.bunnei1-3/+1
2015-01-20core: Fix a few docstringsLioncash1-1/+1
2015-01-09Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner1-4/+4
2015-01-09Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner1-46/+22
2015-01-09Kernel: Move Thread's definition to the header fileYuri Kunde Schlesner1-0/+57
2015-01-09SVC: Implemented the Timer service calls.Subv1-0/+1
2015-01-09SVC: Fixed SleepThread.Subv1-0/+7
2015-01-08Threads: Use a dummy idle thread when no other are ready.Subv1-0/+11
2014-12-28Kernel: New handle managerYuri Kunde Schlesner1-3/+0
2014-12-21License changepurpasmart961-1/+1
2014-12-21Thread: Wait current thread on svc_SleepThreadbunnei1-1/+0
2014-12-20Kernel: Implement support for current thread pseudo-handleYuri Kunde Schlesner1-0/+3
2014-12-09Thread: Fixed to wait on address when in arbitration.bunnei1-0/+11
2014-12-04Threads: Implemented a sequential thread idSubv1-1/+6
2014-12-04SVC: Implemented GetThreadId.Subv1-0/+3
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner1-3/+4
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot1-1/+1
2014-08-07Thread: Added more descriptive comment to WaitCurrentThread.bunnei1-1/+5
2014-07-09Thread: Added functions to resume threads from address arbitration.bunnei1-0/+7
2014-06-13Kernel: Added real support for thread and event blockingbunnei1-3/+6
2014-06-02svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle supportbunnei1-0/+6
2014-05-23thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argumentbunnei1-2/+2
2014-05-23thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThreadbunnei1-1/+1
2014-05-23kernel: refactored function naming to remove "__" prefixbunnei1-2/+2
2014-05-23thread: moved ThreadStatus/WaitType to header, added support for arg on CreateThread, added correct CPSR resetbunnei1-1/+25
2014-05-21thread: added correct lowest thread priority, added a thread priority check, and added some commentsbunnei1-6/+7
2014-05-21thread: exposed ResumeThreadFromWait function for use in other kernel modulesbunnei1-0/+3
2014-05-21thread: moved threading calls to the Kernel namespacebunnei1-9/+17
2014-05-21thread: whitespace change - fixed * and & placementbunnei1-2/+2
2014-05-21- created a Kernel namespacebunnei1-2/+2
2014-05-20thread: added declaration for __KernelReschedule to be used by syscall modulebunnei1-0/+3
2014-05-17changed a commentbunnei1-1/+1
2014-05-17- added enum ThreadProcessorIdbunnei1-2/+17
2014-05-17- replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTHbunnei1-1/+5
2014-05-16completely gutted/refactored threading code to be simplerbunnei1-42/+2
2014-05-15- added helper function for __KernelCreateThreadbunnei1-0/+6
2014-05-14various cleanups / remove unused codebunnei1-0/+1
2014-05-14added a bunch of threading code, recycled from PPSSPP, with lots of hacks in for 3DS... doesn't really do much yet. Just a jumping off pointbunnei1-6/+19
2014-05-10added initial kernel/thread modulesbunnei1-0/+36