X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=fakethr.h;h=8f0def43f4df5cba6699f85f1f1b85f4ca514517;hb=f3c90b3644a4d1b01ee1a6fe678bc1357e85a56a;hp=8b1e76ff9be2f8ebb15f0e9d117029e3ec78872d;hpb=52e1cb5ebf5e5a8cd5d3d9673b540b0c0dfe20df;p=p5sagit%2Fp5-mst-13.2.git diff --git a/fakethr.h b/fakethr.h index 8b1e76f..8f0def4 100644 --- a/fakethr.h +++ b/fakethr.h @@ -1,3 +1,12 @@ +/* fakethr.h + * + * Copyright (C) 1999, by Larry Wall and others + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + typedef int perl_mutex; typedef int perl_key; @@ -34,7 +43,7 @@ struct thread_intern { * something a bit different for XS code. */ -#define SCHEDULE() return schedule(), op +#define SCHEDULE() return schedule(), PL_op #define MUTEX_LOCK(m) #define MUTEX_UNLOCK(m)