2
$Id: thread.inc,v 1.3 2002/09/07 16:01:19 peter Exp $
3
This file is part of the Free Pascal run time library.
4
Copyright (c) 1999-2000 by the Free Pascal development team.
6
Dummy multithreading support for DOS
8
See the file COPYING.FPC, included in this distribution,
9
for details about the copyright.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
**********************************************************************}
17
threadvarblocksize : dword = 0;
23
mainprogramthreadblock : pointer;
25
procedure init_threadvar(offset : pdword;size : dword);[public,alias: 'FPC_INIT_THREADVAR'];
28
offset^:=threadvarblocksize;
29
inc(threadblocksize,size);
33
function relocate_threadvar(offset : dword) : pointer;[public,alias: 'FPC_RELOCATE_THREADVAR'];
36
movl mainprogramthreadblock,%eax
42
Revision 1.3 2002/09/07 16:01:19 peter
43
* old logs removed and tabs fixed