VirtualC64 v5.0 beta
Commodore 64 Emulator
Loading...
Searching...
No Matches
Thread Class Referenceabstract

Implements the emulator's state model. More...

#include <Thread.h>

Public Member Functions

void suspend () override
 Suspends the thread.
 
void resume () override
 Resumes the thread.
 
void wakeUp ()
 Awakes the thread.
 

Detailed Description

Implements the emulator's state model.

This class is one of the base classes of the Emulator class and provides the basic functionality to manage the execution state. It provides functions to launch the emulator thread, to query it's current state, and to switch to another state.

Member Function Documentation

◆ resume()

void resume ( )
overridevirtual

Resumes the thread.

The thread is put back in running state

Implements Suspendable.

◆ suspend()

void suspend ( )
overridevirtual

Suspends the thread.

The thread is temporarily suspended

Implements Suspendable.

◆ wakeUp()

void wakeUp ( )

Awakes the thread.

Wakes up the emulator thread.


The documentation for this class was generated from the following files: