diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-27 20:41:40 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-27 20:41:40 +0000 |
commit | e2cdf68acd4bfb5afafba488845f22b126213c88 (patch) | |
tree | 914cb297f4ae1ce22bdc9f5c139ec75202a4232b /src/macosx/Wrapper/PseudoThread.pas | |
parent | 790ab861b17f96a4fccb23a1cdf10ff53208a3fb (diff) | |
download | usdx-e2cdf68acd4bfb5afafba488845f22b126213c88.tar.gz usdx-e2cdf68acd4bfb5afafba488845f22b126213c88.tar.xz usdx-e2cdf68acd4bfb5afafba488845f22b126213c88.zip |
Content of macosx/Wrapper moved to macosx. Wrapper deleted
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1325 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/macosx/Wrapper/PseudoThread.pas')
-rw-r--r-- | src/macosx/Wrapper/PseudoThread.pas | 48 |
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. - |