32a891c8a1fa55635575dd1fcb45b7818bae731d
[p5sagit/p5-mst-13.2.git] / README
1 The file thrpatch-oct1 contains patches against perl5.001m which makes
2 a first stab at a multithreading perl5.  If your version of patch can't
3 create file from scratch, then you'll need to create an empty thread.h
4 manually first.  Perl itself will need to be built with -DUSE_THREADS
5 and very probably -DDEBUGGING since I haven't tested it without that
6 yet.  If you're using MIT pthreads or another threads package that
7 needs pthread_init() to be called, then add -DNEED_PTHREAD_INIT.  If
8 you're not using a threads library that follows the latest POSIX draft,
9 then you'll probably need to add -DOLD_PTHREADS_API.  I haven't tested
10 -DOLD_PTHREADS_API properly yet and I think you may still have to tweak
11 a couple of the mutex calls to follow the old API.
12
13 These patches are copyright Malcolm Beattie 1995 and are freely
14 distributable under your choice of the GNU Public License or the
15 Artistic License (see the main perl distribution).
16
17 These are very preliminary patches and although it should be sufficient
18 to show roughly what's been going on, they're almost certainly not
19 going to produce a perl of any practical use yet.