aboutsummaryrefslogtreecommitdiffstats
path: root/src/MacOSX/Wrapper/PseudoThread.pas
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-27 15:04:20 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-27 15:04:20 +0000
commit53987e26a9a9cff05259fa2c9c21da10d650bc27 (patch)
tree6530db798d9c28e7e7a7df2abd2e8b7250f055cb /src/MacOSX/Wrapper/PseudoThread.pas
parent4e4e213f8978e5c9e36e0923a0476ca0ae9aa4cf (diff)
downloadusdx-53987e26a9a9cff05259fa2c9c21da10d650bc27.tar.gz
usdx-53987e26a9a9cff05259fa2c9c21da10d650bc27.tar.xz
usdx-53987e26a9a9cff05259fa2c9c21da10d650bc27.zip
rename MacOSX part1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1312 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/MacOSX/Wrapper/PseudoThread.pas')
-rw-r--r--src/MacOSX/Wrapper/PseudoThread.pas48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/MacOSX/Wrapper/PseudoThread.pas b/src/MacOSX/Wrapper/PseudoThread.pas
deleted file mode 100644
index 16157646..00000000
--- a/src/MacOSX/Wrapper/PseudoThread.pas
+++ /dev/null
@@ -1,48 +0,0 @@
-unit PseudoThread;
-
-{$IFDEF FPC}
- {$MODE Delphi}
-{$ENDIF}
-
-{$I switches.inc}
-
-interface
-
-type
-
-// Debugging threads with XCode doesn't seem to work.
-// We use PseudoThread in Debug mode to get proper debugging.
-TPseudoThread = class(TObject)
- private
- protected
- Terminated,
- FreeOnTerminate : Boolean;
- procedure Execute; virtual; abstract;
- procedure Resume;
- procedure Suspend;
- public
- constructor Create(const suspended : Boolean);
-end;
-
-implementation
-
-{ TPseudoThread }
-
-constructor TPseudoThread.Create(const suspended : Boolean);
-begin
- if not suspended then begin
- Execute;
- end;
-end;
-
-procedure TPseudoThread.Resume;
-begin
- Execute;
-end;
-
-procedure TPseudoThread.Suspend;
-begin
-end;
-
-end.
-