fpc/packages/base/pthreads/pthreads.pp
Jonas Maebe 159912ec47 * fixed definition of pthread_mutex_t for non-linux targets (and for
linux as well, actually).
  * base libpthread definitions are now in ptypes.inc, included in unixtype
    They sometimes have an extra underscore in front of their name, in
    case they were also exported by the packages/base/pthreads unit, so
    they can keep their original name there
  * cthreadds unit now imports systuils, because it uses exceptions (it
    already did so before as well)
  * fixed many linux definitions of libpthread functions in pthrlinux.inc
    (integer -> cint etc)
  + added culonglong type to ctype.inc
2004-09-09 20:29:06 +00:00

47 lines
834 B
ObjectPascal

{
$Id$
This file is part of the Free Pascal run time library.
Copyright (c) 1999-2000 by Michael Van Canneyt,
BSD parts (c) 2000 by Marco van de Voort
members of the Free Pascal development team.
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY;without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
unit pthreads;
interface
{$mode objfpc}
{$PACKRECORDS C}
{$ifdef BSD}
{$ifndef ver1_0}
Uses BaseUnix, unixtype;
{$endif}
{$i pthrbsd.inc}
{$else}
uses unixtype;
{$i pthrlinux.inc}
{$endif}
implementation
end.
{
$Log : $
}