X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=fakethr.h;h=7c82aa6d691af815f27993211f921de6f4a9c99a;hb=4527a2238fcb956920c7d18b8aa95a3ff49f0fcb;hp=8b1e76ff9be2f8ebb15f0e9d117029e3ec78872d;hpb=52e1cb5ebf5e5a8cd5d3d9673b540b0c0dfe20df;p=p5sagit%2Fp5-mst-13.2.git diff --git a/fakethr.h b/fakethr.h index 8b1e76f..7c82aa6 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) @@ -54,3 +63,13 @@ struct thread_intern { #define THREAD_POST_CREATE(t) NOOP #define YIELD NOOP + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */