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