mariadb/mit-pthreads
unknown 52a4c5a100 Portability fixes for OPENBSD, OS2 and Windows
Docs/manual.texi:
  Changed TCX -> MySQL AB
configure.in:
  New version
include/my_sys.h:
  Fixes for OS2
ltconfig:
  Fixes for OS2
ltmain.sh:
  Fixes for OS2
mit-pthreads/net/net_internal.h:
  Fixes for OPENBSD
mit-pthreads/net/proto_internal.h:
  Fixes for OPENBSD
mit-pthreads/net/res_internal.h:
  Fixes for OPENBSD
mit-pthreads/net/serv_internal.h:
  Fixes for OPENBSD
myisammrg/myrg_open.c:
  MERGE didn't work on Windows
mysys/my_getwd.c:
  Fixes for OS2
sql/field.cc:
  cleanup
sql/field.h:
  Fix for new SCO compiler
sql/ha_berkeley.cc:
  Cleanup
sql/ha_berkeley.h:
  Portability fix
sql/item_sum.h:
  Fix for new SCO compiler
sql/log.cc:
  Fixes for OS2
sql/log_event.h:
  Fixes for OS2
sql/mysqld.cc:
  Fixes for OS2
sql/net_serv.cc:
  Fixes for OS2
sql/sql_analyse.h:
  Fix for new SCO compiler
sql/sql_class.h:
  Fix for new SCO compiler
sql/sql_map.h:
  Fix for new SCO compiler
sql/sql_repl.cc:
  cleanup
sql/sql_string.h:
  Fix for new SCO compiler
sql/sql_table.cc:
  cleanup
strings/longlong2str-x86.s:
  Fixes for openbsd
2001-01-27 01:20:56 +02:00
..
bin Import changeset 2000-07-31 21:29:14 +02:00
config Patches for NetBSD/macppc 2001-01-12 13:52:32 +02:00
gen Bug fixes + defines for INNOBASE 2000-10-20 17:39:23 +03:00
include ac-types.h Added back removed file 2000-08-30 17:19:35 +02:00
lib Import changeset 2000-07-31 21:29:14 +02:00
machdep Patches for NetBSD/macppc 2001-01-12 13:52:32 +02:00
net Portability fixes for OPENBSD, OS2 and Windows 2001-01-27 01:20:56 +02:00
patches Import changeset 2000-07-31 21:29:14 +02:00
pthreads Import changeset 2000-07-31 21:29:14 +02:00
scripts Import changeset 2000-07-31 21:29:14 +02:00
stdio Import changeset 2000-07-31 21:29:14 +02:00
stdlib Import changeset 2000-07-31 21:29:14 +02:00
string Import changeset 2000-07-31 21:29:14 +02:00
tests Import changeset 2000-07-31 21:29:14 +02:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
Changes-mysql Patches for NetBSD/macppc 2001-01-12 13:52:32 +02:00
configure Fix for compilation ; Turned of RCS flag for all files to avoid 2000-08-30 22:44:57 +03:00
COPYRIGHT Import changeset 2000-07-31 21:29:14 +02:00
FAQ Import changeset 2000-07-31 21:29:14 +02:00
GNUmakefile Import changeset 2000-07-31 21:29:14 +02:00
NOTES Import changeset 2000-07-31 21:29:14 +02:00
NOTES_OSR5_BUILD_SKUNKWARE97 Import changeset 2000-07-31 21:29:14 +02:00
pg++ Import changeset 2000-07-31 21:29:14 +02:00
pgcc Import changeset 2000-07-31 21:29:14 +02:00
README Import changeset 2000-07-31 21:29:14 +02:00
TODO-mysql Import changeset 2000-07-31 21:29:14 +02:00
Whats_New Import changeset 2000-07-31 21:29:14 +02:00

This pthread package is/will be based on the POSIX1003.1c Draft 10 pthread
standard, and Frank Muellers paper on signal handeling presented at the 
Winter 93 USENIX conference.

It is currently being designed and written by me, Chris Provenzano.
All bug, comments, and questions can be sent me at proven@mit.edu,
or pthreads@mit.edu.

PLEASE, don't send questions, bugs or patches to any of the *BSD*, Linux
or GNU mailing lists.

Thanks goes to Ken Raeburn for his help on the Sparc port, the configurator, 
and his many suggestions, Greg Hudson for the thread safe net routines and
all the testing he's done.

More thanks to Mark Eichin and all the others for the testing they have done.

PORTING
One of the goals of this user space implementation of pthreads is that it
be portable. I have minimized the ammount of assembler code necessary,
but some is.

If you want to port it to another platform here are a few basic hints.

You will need to create a machdep.h, machdep.c and syscall.S for the
new architecture. The first two are necessary to get the context switch 
section of the pthread package running, the third is for all the syscalls.

INCLUDE FILES AND PORTING
In addition to the above three files you need to create a slew of .h files. 
Take a look at an existing port to determine what is in each, and then
take a look at your system header files to determine what to put in them.

------------------------------------------------------------------------------
Copyright (c) 1993, 1994, 1995, 1996 Chris Provenzano. All rights reserved.
This product includes software developed by the Univeristy of California,
Berkeley and its contributors.

For further licencing and distribution restrictions see the file COPYRIGHT
included in this directory.