Przeglądaj źródła

* EMX code removed. Most probably, MT broken. (EMX notification removed)

yuri 22 lat temu
rodzic
commit
ddfc73d0eb
2 zmienionych plików z 5 dodań i 13 usunięć
  1. 4 12
      rtl/os2/thread.inc
  2. 1 1
      rtl/os2/todo-os2.txt

+ 4 - 12
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

+ 1 - 1
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