This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate mainline
[perl5.git] / ext / Thread / README
1 See the README.threads in the main perl 5.004_xx development
2 distribution (x >= 50) for details of how to build and use this.
3 If all else fails, read on.
4
5 If your version of patch can't create a file from scratch, then you'll
6 need to create an empty thread.h manually first.  Perl itself will need
7 to be built with -DUSE_THREADS yet. If you're using MIT pthreads or
8 another threads package that needs pthread_init() to be called, then
9 add -DNEED_PTHREAD_INIT. If you're using a threads library that only
10 follows one of the old POSIX drafts, then you'll probably need to add
11 -DOLD_PTHREADS_API. I haven't tested -DOLD_PTHREADS_API properly yet
12 and I think you may still have to tweak a couple of the mutex calls
13 to follow the old API.
14
15 This extension is copyright Malcolm Beattie 1995-1997 and is freely
16 distributable under your choice of the GNU Public License or the
17 Artistic License (see the main perl distribution).
18
19 Malcolm Beattie
20 mbeattie@sable.ox.ac.uk