From ddfc73d0eb8c197f489d7e0c57d91c3e2f9ef602 Mon Sep 17 00:00:00 2001 From: yuri Date: Wed, 8 Oct 2003 09:21:33 +0000 Subject: [PATCH] * EMX code removed. Most probably, MT broken. (EMX notification removed) --- rtl/os2/thread.inc | 16 ++++------------ rtl/os2/todo-os2.txt | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/rtl/os2/thread.inc b/rtl/os2/thread.inc index d58db2b4e9..36f078d13e 100644 --- a/rtl/os2/thread.inc +++ b/rtl/os2/thread.inc @@ -15,7 +15,6 @@ **********************************************************************} {$IFDEF MT} -{$DEFINE EMX} const ThreadVarBlockSize: dword = 0; @@ -210,16 +209,6 @@ begin {$endif DEBUG_MT} BeginThread := DosCreateThread (ThreadID, @ThreadMain, TI, CreationFlags, StackSize); -{$IFDEF EMX} -{$ASMMODE INTEL} - asm - mov eax, 7F2Ch - mov edx, ThreadID - call syscall -{$warning Error checking missing!!} - end ['eax', 'ecx', 'edx']; -{$ASMMODE DEFAULT} -{$ENDIF EMX} end; function BeginThread (ThreadFunction: TThreadFunc): dword; @@ -335,7 +324,10 @@ end; { $Log$ - Revision 1.12 2003-10-08 05:22:47 yuri + Revision 1.13 2003-10-08 09:21:33 yuri + * EMX code removed. Most probably, MT broken. (EMX notification removed) + + Revision 1.12 2003/10/08 05:22:47 yuri * Some emx code removed Revision 1.11 2003/10/07 21:26:35 hajny diff --git a/rtl/os2/todo-os2.txt b/rtl/os2/todo-os2.txt index 81aa4fde57..eef2a1568f 100644 --- a/rtl/os2/todo-os2.txt +++ b/rtl/os2/todo-os2.txt @@ -33,7 +33,7 @@ OS/2 native rtl high - dos.pas.................................................YP - sysutils.pp - ports.pas - - thread.inc + - thread.inc..............................................YP - linker (LINK386, Internal, ...) - loader (prt*) for EXEs - loader (prt*) for DLLs